[Mongrel] Links go to 'localhost'

Wayne E. Seguin wayneeseguin at gmail.com
Wed Nov 7 08:27:07 EST 2007

On 11/7/07, Geek Moth <geekmoth at gmail.com> wrote:
> 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.


It sounds to me like your apache is not passing the hostname through
properly. Not enough information here for me to help more than that.

Good luck,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20071107/c308c4cb/attachment.html 

More information about the Mongrel-users mailing list