Just a idea...there is a difference between "http-bind/" and "http-bind" for apache mod_rewrite / mod_proxy. So you should make sure it is overall equal.
>openfire server will report error to me with this:
>HTTP ERROR: 404
>Powered by Jetty://
this is correct, it means that your apache redirects to openfire. Are you sure, that RequestURI=/spark/ is correct? Then you httpbase in JWChat config should be "/spark/", too.
sorry,i made a spelling mistake..
following is my apache httpd.conf:
Options +Indexes +MultiViews
ProxyPass /http-bind/ http://127.0.0.1:8080/http-bind/
ProxyPassReverse / localhost
and following is my config.sys
var SITENAME = "localhost";
var BACKENDS =
and here is the error message when inputing http:/127.0.0.1/http-bind/
HTTP ERROR: 404NOT_FOUND
It does not allow me to login using jwchat
It is ok now. Thanks Amish Mehta from
Following is the relative complete configuration. And my software version is jwchat 1.0 beta3 + openfire 3.3.3
1 config the httpd.conf file of apache
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
ProxyPass /http-bind/ http://127.0.0.1:8080/http-bind/[http://127.0.0.1:8080/http-bind/]
Open config.js and comment all BACKENDS except 'Native Binding'
3 Edit jsjac.js and set
var JSJACHBC_USE_BOSH_VER = false; /* true; */
Edit jwchat.html and just before line:
Add this line:
oArg.authtype = 'nonsasl';
Log into OpenFire as an administrator and add two server properties:
xmpp.httpbind.client.requests.polling = 0
xmpp.httpbind.client.requests.wait = 10
6 restart openfire and apache,then login through http://localhost
it is ok
.. this method is working for me..but have small problem!
while accesing the web page at localhost, jwchat's "Login Button" is disabled..
do i need to additionally configure anything in OpenFire or apache for this?or add anything?
I have Apache 2.2.
JWChat 1.0 beta3
this method works for me too.
I agree that it has some strange problems, so one may really use another solution - for example Openfire Enterprise (which should become open source soon).