httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: [users@httpd] using Apache server as proxy.
Date Sun, 04 Mar 2007 15:34:05 GMT
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message