[Mongrel] Links go to 'localhost'

Geek Moth geekmoth at gmail.com
Wed Nov 7 06:36:49 EST 2007

I am using Apache2.2 + Mongrel on my machine.
Now I am accessing it over LAN. When I enter http://mymachinename/myapp
it opens fine but when I click on any link in my rails app, it replaces
mymachinename with localhost (http://localhost/myapp/controller/action)
and thus I am unable to access it from remote location.

More information about the Mongrel-users mailing list