Closed pingpongboss closed 12 years ago
the only thing I tried so far is this:
RewriteRule ^ http://127.0.0.1:3000%{REQUEST_URI} [P,QSA,L]
which redirects ALL requests from calchat.net to 127.0.0.1:3000 but I was getting some problems with the node instance not resolving urls. i didn't put much time into this but the examples you provided might just do the trick.
this might help too (posting for reference)
tried doing some work on this but still no luck. maybe @pingpongboss you can take a stab at it. if not then fuck it, we'll VPS this shit
(not to mention running node and redis-server is against the TOS for dreamhost shared servers so we'll probably get fucked once we receive real traffic to our node server)
vps set up.
user: meltedboss hostname: ps94231.dreamhostps.com pw: same as before
calchat.net set up
wow socket.io scared me
@meltedxice I took a look at my .htaccess files. Seems like there might be 2 ways to do this. Have you tried them?
1
This is the best bet
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(calttc.)?berkeley.edu$
RewriteRule ^(/)?$ blog [L]
2
This probably will not work "invisibly"
Redirect 301 / http://calttc.tumblr.com/