Hi,

I hope this is not a FAQ but as the list told me there's no FAQ
available yet, here I go:
.- I'm using mod_proxy to centralise the access to my various
applications through the standard port. I mean, I have various
applications, each running in a different port because of maintenace
reasons, and I'm using mod_proxy to redirect requests to the appropriate
port this way:

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.
Should I use other options to do that? mod_rewrite?
Please send a copy of the answer to me directly as I'm not registered
yet.
Thanks in advance,
Dan
------------------------
Daniel Lopez ([EMAIL PROTECTED]
University of the Balearic Islands
------------------------

Reply via email to