In your apache configuration, make sure you have used the following:

ProxyPreserveHost on

Otherwise, when you do your proxying, Apache will simply issue a get
and all the requests will appear to be entered as http://localhost,
which is why all of your links are coming back that way :-).

On Nov 7, 1:35 am, "Vapor .." <[EMAIL PROTECTED]>
wrote:
> I have installed Apache2.2 + Mongrel and deployed my build on.
> Now I am accessing it over LAN. When I enterhttp://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.
> --
> Posted viahttp://www.ruby-forum.com/.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to