From: "William A. Rowe, Jr." <wrowe@xxxxxxxxxxxxx>
Subject: Re: using Apache server as proxy.
Sander Temme wrote:
>
> On Mar 4, 2007, at 6:36 AM, Rostislav Khaskin wrote:
>
>> Everything works, except when I try to read remotehost address in my
>> app, I get 92.168.2.100.
>>
>> How can I make it keep the original address?
>
> The proxy server stores it in the X-Forwarded-For header.
Your app
> should have access to that.
What I think is happening is that your app reports it's address at
92.168.2.100 - but you told it to fix ONLY address:7070 - fix that
or fix the ProxyPassReverse statement. And remember it's only fixing
headers - your CONTENT won't be corrected (mod_proxy_html can do that.)
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:
http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
" from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx