[Mongrel] help! problem with mongrel, request.remote_ip and lighttpd

Wayne E. Seguin wayneeseguin at gmail.com
Thu Nov 29 00:13:41 EST 2007


On Nov 28, 2007 12:38 AM, Rajiv Sankranti <rajiv at fleeteyes.com> wrote:

> Wayne,
>
> Thanks for the response. I found that lighttpd forwards the remote address
> in
> HTTP_X_FORWARDED_FOR.
>
> I was able access it by using
> request.env['HTTP_X_FORWARDED_FOR'] in the rails application.
>
Raj,

Awesome, Thank you for posting your solution back to the list!

  ~Wayne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20071129/70c5c01a/attachment.html 


More information about the Mongrel-users mailing list