Openfire370beta HTTP Bind

Got openfire HTTP bind set up and the reverse proxy redirecting from localhost/http-bind to the BOSH service. As expected going to localhost/http-bind in a web browser (GET request) returns the Openfire HTTP Bind page.

Unexpected issuing POST requests from Strophe to localhost/http-bind also returns the HTML. Post requests should be passed to the BOSH service and an appropriate XML response returned from openfire.

Openfire seems to have a lot of potential, I love everything about it, but I’ve never been able to get it to work using Javascript and I don’t know anyone who has.

Hello,

I’ve found the setup to be extremely picky with the trailing ‘/’ on the URL. For Strophe I use:

new Strophe.Connection("/http-bind/");

For apache I use:

ProxyPass /http-bind http://127.0.0.1:7077/http-bind
ProxyPassReverse /http-bind http://127.0.0.1:7077/http-bind

and it works

daryl