Inside my virtualhost definition I have the following lines:
RewriteRule ^http-bind http://localhost:8080/http-bind/
Note: “^/http-bind” as mentioned in JSJaC README file did not work for me (perhaps because of Windows).
Just for the record I also needed to enable the following modules in httpd.conf:
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule rewrite_module modules/mod_rewrite.so
I just checked apache log, and corrected the configuration until it worked.
This is how it should work as I figured it out from http://www.igniterealtime.org/community/message/138377 and
Then I set the “HTTP Base” to “http://localhost/http-bind” in the JSJac Simple Client, and fill in the other fields as well.
When I try to log in I see “initial response broken (status: 400)” in the FireBug console. If I set “HTTP Base” to “http://localhost/http-bind/” the same problem happens.
Before that there is the post in the firebug console:
POST http://localhost/http-bind400 (31ms)
Date Mon, 15 Oct 2007 19:12:52 GMT
Content-Type text/html; charset=iso-8859-1
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:188.8.131.52) Gecko/20070914 Firefox/184.108.40.206
Accept text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/p lain;q=0.8,image/png,/;q=0.5
Content-Type text/xml; charset=utf-8
What is the problem? Should I include openfire logs as well?