Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2014
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. ProxyPass /some/path http://localhost:9096
  2. ProxyPassReverse /some/path http://localhost:9096
  3.  
  4. var socketUrl = 'http://localhost:8888/some/path/namespace';
  5. var socket = io.connect(socketUrl);
  6.  
  7. http://localhost:8888/some/path/socket.io/socket.io.js
  8. -> 200 ok
  9.  
  10. localhost:8888/socket.io/1?123983759
  11. -> 404 not found
  12.  
  13. var socket = io.connect('http://localhost:8888', {resource: '/some/path/socket.io'});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement