Flotype/now — Issue #149: Socket.IO Namespace
Author: jafar-
Created: 2011-10-22 04:38:27+00:00
State: open

I'm trying to use now.js with Apache and have a node.js page setup such as:

http://mysite.com/node

Where '/node' is where I'm using node.js

I'm able to attach the nowjs/now.js file by doing:

and I can even attach :

But now.js still wants to attach it's own version of Socket.IO and it keeps looking for it at:

http://localhost:8080/socket.io/socket.io.js

I've been trying to use .htaccess to reroute it, but it doesn't seem to work.

Is there a way to set options on socketio during it's initialization to utilize it's namespaces such as:

io.of('/node').on('connection', function (sockets) { });

Any suggestions?