My Apache config looks similar to this:
<VirtualHost *:80>And of course I'm running the chat server on port 8080. I've tested it with SSH tunnel, and things work perfectly. Then I moved on to Apache.
The first time I tried, the _javascript_ console complains this:
NetworkError: 403 Forbidden - http://foobar.com/ws/The request seems to be stucked at the origin check. Then I tried again after comment out the origin check, it get this:
NetworkError: 400 Bad Request - http://foobar.com/ws/It seems the chat server do not get the upgrade request at all.
How should I debug this? Where should I start looking?