Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am stuck with apache2. I've read that mod_proxy doesn't support websockets. Does it support EventSource?

share|improve this question

EventSource should be fine with mod_proxy, since EventSource is less complex in communications and runs on your Application layer (HTML), as long as you enable persistent connections (Keep Alives).

I've found a fair bit of issues with WebSockets over proxies, particularly over large corporate networks, which employ proxy routers that don't allow persistent connections, so you might find this may also have an impact for any live communication. A Comet fallback (then AJAX polling) might be a good backup plan just in case.

If you're looking for a way to push live server events and only need the one-way communication, you should check out Pusher or some sort of polyfill for backward support. :)

Hope that helps.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.