Rails on Jaguarpc

Setting up the redirects to point to the mongrel instance


[code]
cd ~/public_html/photos/public/
ln -s ../../../photos photos
[/code]
later modified so that only the public folder is exposed
[code]
cd ~/public_html/photos/public/photos/public
ln -s ../../../../photos/public
[/code]

So now /home/jphuquoc/public_html/photos/public/photos goes to my photos directory in ~/photos

Going to http://soulflyer.com/photos brings up the index method, so this must be linking the addr http://soulflyer.com directly to the rails server and calling the controller photos on it. Not quite what I expected.

Tried removing the link and doing:
[code]
cd ~/public_html/photos
ln -s ../../photos/public public
[/code]

No change

Then:
[code]
cd ~/public_html
rm -r photos/
ln -s ../photos/public/ photos
[/code]

No change!!

You must be logged in to post a comment.