Hi All
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
Cheers
LuCa
Hi All
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
Cheers
LuCa
On Mon, Jul 28, 2008 at 3:09 PM, Luca S.
[email protected] 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 D.
http://destiney.com/
yes, thnx a lot!!
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs