hey.
i have working server/client. but when i moved my client (strophe) to another machine i keep getting back
“POST http://myserver/http-bind/ 200 OK” and nothing else.
the posted header is almost the same as the one that is posted from the server where it worx.
the difference is here
on workin server i have in request header
"
Cookieseltool=8; PHPSESSID=gq3l5jct7p5qjladhf79vvakn1
"
as in not workin i have
“Origin http://clientsite”
any suggestions (i have 3 plugins installed broadcast, contentfilter and search).
ok so some additional questions.
is it posible that the problem is because the client is running on totally different domain or even subdomain of the domain where the server is running ?
ok this is the capture from live http header
from the server that worx
http://serverthatworx/index.php?chatroom=avgust
GET /index.php?chatroom=avgust HTTP/1.1
Host: serverthatworx
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; sl; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: sl,en-gb;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: seltool=8; PHPSESSID=gq3l5jct7p5qjladhf79vvakn1
HTTP/1.x 200 OK
Date: Wed, 26 Aug 2009 13:00:12 GMT
Server: Apache/2.2.3 (Red Hat)
X-Powered-By: PHP/5.1.6
Content-Length: 3678
Connection: close
Content-Type: text/html; charset=UTF-8
http://serverthatworx/js/groupchat/groupchat.logica.js.php?chatroom=avgust
GET /js/groupchat/groupchat.logica.js.php?chatroom=avgust HTTP/1.1
Host: serverthatworx
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; sl; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)
Accept: /
Accept-Language: sl,en-gb;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://serverthatworx/index.php?chatroom=avgust
Cookie: seltool=8; PHPSESSID=gq3l5jct7p5qjladhf79vvakn1
HTTP/1.x 200 OK
Date: Wed, 26 Aug 2009 13:00:12 GMT
Server: Apache/2.2.3 (Red Hat)
X-Powered-By: PHP/5.1.6
Content-Length: 3358
Connection: close
Content-Type: text/html; charset=UTF-8
and now header from the client that is on the different web server (different machine different domain) and it doesnt work
http://serverthatworx/http-bind/
POST /http-bind/ HTTP/1.1
Host: serverthatworx
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; sl; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: sl,en-gb;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://serverthatworx/index.php?chatroom=avgust
Content-Length: 82
Content-Type: text/plain; charset=UTF-8
Cookie: seltool=8; PHPSESSID=gq3l5jct7p5qjladhf79vvakn1
Pragma: no-cache
Cache-Control: no-cache
HTTP/1.x 200 OK
Date: Wed, 26 Aug 2009 13:01:46 GMT
Server: Jetty(6.1.x)
Content-Type: text/xml; charset=utf-8
Content-Length: 57
Connection: close
http://serverthatdoesntwork/chat/index.php?chatroom=avgust
GET /chat/index.php?chatroom=avgust HTTP/1.1
Host: serverthatdoesntwork
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; sl; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: sl,en-gb;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
HTTP/1.x 200 OK
Date: Wed, 26 Aug 2009 10:57:49 GMT
Server: Apache/2.0.55 (Red Hat)
X-Powered-By: PHP/5.1.2
Content-Length: 7915
Keep-Alive: timeout=45
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8
http://serverthatdoesntwork/chat/js/groupchat/groupchat.logica.js.php?chatroom=a vgust
GET /chat/js/groupchat/groupchat.logica.js.php?chatroom=avgust HTTP/1.1
Host: serverthatdoesntwork
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; sl; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)
Accept: /
Accept-Language: sl,en-gb;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://serverthatdoesntwork/chat/index.php?chatroom=avgust
HTTP/1.x 200 OK
Date: Wed, 26 Aug 2009 10:57:49 GMT
Server: Apache/2.0.55 (Red Hat)
X-Powered-By: PHP/5.1.2
Content-Length: 3358
Keep-Alive: timeout=45
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8
thnx