title: Socket.io connection url?
body: <p>I have the current setup: </p>
  
  <ol>
  <li>Nodejs Proxy (running http-reverse-proxy) running on port 80.  </li>
  <li>Rails server running on port 3000 </li>
  <li>Nodejs web server running on port 8888</li>
  </ol>
  
  <p>So any request starting with /nodejs/ will be redirected to nodejs web server on 8888. </p>
  
  <p>Anything else will be redirected to the rails server on port 3000. </p>
  
  <p>Currently Socket.io requires a connection url for io.connect. </p>
  
  <p><em>Note that <strong>/nodejs/socket.io/socket.io.js</strong> is valid and returns the required socket.io client js library.</em> </p>
  
  <hr>
  
  <p>However, I am not able to specify connection_url to /nodejs/ on my server. </p>
  
  <p>I have tried <a href="http://myapp.com/nodejs">http://myapp.com/nodejs</a> and other variants but I am still getting a 404 error with the following url <a href="http://myapp/socket.io/1/?t=1331851089106">http://myapp/socket.io/1/?t=1331851089106</a> </p>
  
  <h2>Is it possible to tell io.connect to prefix each connection url with /nodejs/ ?</h2>