jwchat: https works, http won't work!

Hi, Every body!

I have got JWChat working with my ejabberd at https://breakevilaxis.org but I never got it work at http://breakevilaxis.org. I have my hosts file, rc.conf file, httpd.conf file, httpd-ssl.conf file and ejabberd.conf file and config.js file posted in the following:

http://breakevilaxis.org/hosts
http://breakevilaxis.org/rc.conf
http://breakevilaxis.org/httpd.conf
http://breakevilaxis.org/httpd-ssl.conf
http://breakevilaxis.org/ejabberd.cfg
http://breakevilaxis.org/config.conf

In the httpd.conf file, no matter I add or delete ProxyPassReverse or not, it won't work. I can login, when I click the 3 people, it pops up the window, but when I click join, nothing will be happening except there is a chatroom title shows in the left small window. The chat room won't show up. It will show up if I use https://breakevilaxis.org instead of http://breakevilaxis.org.

Thanks a lot!

I changed ProxyPass to

I changed ProxyPass to RewriteEngine On, RewriteRule http-poll/ http://127.0.0.1:5280/http-poll/ [P], still the same. The conference room won't show up. Not any hint can be found in the log files.
I used Psi and use the port 5222, it works. Seems it is the jwchat's problem. Not ejabberd's problem.

Web server config problem

breakevilaxis wrote:

Seems it is the jwchat's problem. Not ejabberd's problem.

No, it's probably a configuration problem of your web server. What web server do you use and what version? What lines did you added in order to make it working (also .htaccess if you use that)? Do you run FreeBSD?

--
sander

The author of jwchat says it

The author of jwchat says it is the erlang problem. The hostname and the node name problem.
When I run ejabberdctl, it won't accept any name with a dot such as breakevilaxis.org. If I let my hostname be breakevilaxis.org, then when I run command ejabberdctl ejabberd@breakevilaxis.org status, it reports error, says illegal domain name. So I have to use breakevilaxis as my hostname. But breakevilaxis is not resolvable. Only breakevilaxis.org is resolvable. Somehow, jwchat may need sitename resolvable.
My ejabberd starter script is

erl -pa /var/lib/ejabberd/ebin -sname ejabberd -s ejabberd -ejabberd config \"/usr/local/etc/ejabberd/ejabberd.cfg\" log_path \"/var/log/ejabberd/ejabberd.log\"
-sasl sasl_error_logger \{file,\"/var/log/ejabberd/sasl.log\"} -mnesia dir \"/v
ar/lib/ejabberd/spool\" -detached

I got this starter script from his web site. Actually, there is a package in my FreeBSD ports. But when I run that ejabberd, it won't start the mnesir database.
I would better run the native ejabberd from the FreeBSD port but I do not know how to add the database into the script. Here is the script to start ejabberd in FreeBSD:

http://breakevilaxis.org/ejabberd

I believe this script should run a correct hostname so that I can use a hostname with dot in it.

I have changed the host name from breakevilaxis to breakevilaxis.org, it is still the same.

Now I am using the standard FreeBSD port of ejabberd.
These are the configuration files. Please help me figour out what is wrong.

http://breakevilaxis.org/config.conf
http://breakevilaxis.org/httpd.conf
http://breakevilaxis.org/httpd-ssl.conf
http://breakevilaxis.org/ejabberd.cfg
http://breakevilaxis.org/hosts
http://breakevilaxis.org/rc.conf

I just....

I just set up jwchat with ejabberd with very few problems. I would take a look at your config files for you, but your site seems to be down at the moment. ;-)

Yes. It is down now. It will

Yes. It is down now. It will be up soon. I am working at http://www.ddint.org now.

I checked the ejabberd is running. Now I am setting up jwchat on it. This time I will use the .htaccess method.

I have got ejabberd working

I have got ejabberd working with Yaws and jwchat at http://localhost:5224/jwchat. I will get rid of Apache. I have squid proxy to set up with SSL. So I do not have to fool around with SSL with Yaws.

Seems Embeded Yaws can only

Seems Embeded Yaws can only access from local? I cannot access it from remote.
I have got it by using Apache 1.3.37.

Are you using?

You're not using virtual hosts are you? If you are, keep in mind that localhost is actually the default host. If you're using virtual hosts, you need to specify the FULL server name instead of just 'localhost' or '127.0.0.1'.

Syndicate content