You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/07/27 01:31:26 UTC

DO NOT REPLY [Bug 30335] - Mod_Proxy Problem

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30335>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30335

Mod_Proxy Problem

slive@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX



------- Additional Comments From slive@apache.org  2004-07-26 23:31 -------
ProxyPreserveHost preserves the HTTP Host request header, which has nothing to
do with the client IP address.

As far as I know, there is no way to do what you want.  Revealing the IP address
of forward-proxy clients is generally considered a privacy violation, and is
therefore not supported.  If you look at the mod_proxy_http source code, you'll
see a section where an X-Forwarded-For header is added to reverse proxy
requests.  You can easily modify this to also work on forward proxy requests if
you'd like.

Otherwise, you can consider doing the access restrictions on the apache proxy
rather than the squid proxy.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org