Quoting Geek Moth <[EMAIL PROTECTED]>:
> 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.

Why are your links absolute urls at all? Are you using absolute or
relative link syntax in your rails app? W/o more info, it isn't clear
where the 'http://localhost/' part is being introduced into the equation.
-- 
Cynthia Kiser
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to