Piyush Ranjan piyush.pr at gmail.com
Thu Jan 8 09:42:33 EST 2009

You will not get these things from any of those variables. If you are using
Apache look for "set X-FORWARDED-FOR". In fact X-FF can be used to get ip
address for many http servers. More info at

On Thu, Jan 8, 2009 at 6:47 PM, Sathish Sundaram <lists at ruby-forum.com>wrote:

> When i try to get the remote address of the system ,its returning only
> the proxy server ip or localhost ip address.But i need the service
> provider ip address of the system.Is there is any http header
> variables,because i used (['REMOTE_ADDR']
> works for me . I need the solution for this can you please suggest with
> me the solution.
> thanks,
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/mongrel-users/attachments/20090108/ba8c2bc9/attachment.html>

More information about the Mongrel-users mailing list