On Mon, Jul 28, 2008 at 3:09 PM, Luca Scaljery
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> I have my webrick server behind apache (all on the same server). The
> problem I have now is that request.remote_ip always returns 127.0.0.1.
> So it gets this IP from apache (I guess). How do I get the true client
> IP address
request.env[ ''HTTP_X_FORWARDED_FOR'' ]
--
Greg Donald
http://destiney.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---