To access the most up-to-date ejabberd documentation, please visit docs.ejabberd.im »
jwchat: https works, http won't work!
Submitted by breakevilaxis on Thu, 2006-09-14 19:02
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:
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.
Submitted by breakevilaxis on Fri, 2006-09-15 03:11.
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.
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?
Submitted by breakevilaxis on Fri, 2006-09-15 23:13.
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
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:
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. ;-)
Submitted by breakevilaxis on Sun, 2006-09-17 21:04.
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.
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'.
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
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.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.
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
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:
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.
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 athttp://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 athttp://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'.