|
|||||||||||
|
Getting the original IP
From: Daniel Lopez <D.Lopez(at)uib.es>
Date: Mon Jan 15 2001 - 12:20:04 EST
I hope this is not a FAQ but as the list told me there's no FAQ
available yet, here I go:
ProyPass /myApp/ http://myhost.es:thePort/myApp/ ProyPassReverse /myApp/ http://myhost.es:thePort/myApp/ ProxiVia full
My problem is that, due to authentication requirements, I would like to
be able to get which is the original IP that made the request: That is:
Host x.x.x.x makes a request to http://myhost.es/myApp/whatever.app
then mod_proxy translates this request to
http://myhost.es:thePort/myApp/whatever.app but if I try to recover the
REMOTE_HOST in the whatever.app program, I get myhost.es, not x.x.x.x. I
understand the reason why that is so, but is there any way (for example
an extra http header...) from where I can get the original remote host's
IP? I already tried checking the headers but I didn't find anyone with
this info.
Daniel Lopez (D.Lopez@uib.es University of the Balearic Islands Received on Mon Jan 15 17:20:28 2001 This archive was generated by hypermail 2.1.8 : Thu Aug 24 2006 - 14:53:14 EDT |
||||||||||
|
|||||||||||