Advertisement
Guest User

websocket code added to http.conf

a guest
Aug 22nd, 2012
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. LoadModule websocket_module modules/mod_websocket.so
  2. LoadModule websocket_draft76_module modules/mod_websocket_draft76.so
  3.  
  4. <IfModule mod_websocket.c>
  5. <Location /echo>
  6. SetHandler websocket-handler
  7. WebSocketHandler modules/mod_websocket.so echo_init
  8. </Location>
  9. </IfModule>
  10.  
  11. <IfModule mod_websocket_draft76.c>
  12. <Location /echo>
  13. SetHandler websocket-handler
  14. WebSocketHandler modules/mod_websocket_draft76.so echo_init
  15. SupportDraft75 On
  16. </Location>
  17. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement