Hello — desperately looking for help — any advice greatly appreciated
Purchased the book, excellent.
I have tried the book helloworld example code and now attempting to get strophe example working to no avail ...
I have a server running CENTOS 5.8 with OPENFIRE 3.8.1 installed up running and tested connect via SPARK, OK and working.
HTTP Bind settings are enabled on port 7070
Script Syntax is enabled
CORS is enabled
in apache conf i have set the following up for proxy:
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
Allow from all
ProxyPass /jabber/ http://localhost:7070/http-bind/
ProxyPassReverse /jabber/ http://localhost:7070/http-bind/
At the WWW ROOT of my server that has Openfire installed and running — in 'httpdocs' i have placed a copy of the crossdomain.xml file
I tried the example code locally on the server and it did not work
On a different server at another domain ... i have attempted to test the crossdomain.html strophe example (mod'd to connect to my server and also included the Flash fallback) to attempt to test a connect to my server as follows:
var BOSH_SERVICE = 'http://22.214.171.124/jabber/'
upon entering the JID and Pass i get the following error in the console:
Failed to load resource: the server responded with a status of 500 (Server Error)
Any help here greatly appreciated.
I have tried MANY various proxy settings to no avail.
FEEL FREE to hit my server to test a connection to it ... ill provide the username / password and URL here:
You can see Openfire BOSH at http://126.96.36.199:7070
My test pages:
local on same server as openfire: http://188.8.131.52/strophe/examples/crossdomain.html
remote server: http://disrupt.nu/strophe/examples/crossdomain.html
MY GOAL is to get a strophe example connecting to my Openfire server via HTTP correctly over BOSH
Again — any advice or help sincerely appreciated