httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 11404] New: - ProxyPreserveHost directive does not preserve port
Date Fri, 02 Aug 2002 09:02:38 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11404>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11404

ProxyPreserveHost directive does not preserve port

           Summary: ProxyPreserveHost directive does not preserve port
           Product: Apache httpd-2.0
           Version: 2.0.39
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_proxy
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: gilles@morlet.nom.fr


When using directive
ProxyPreserveHost On
the host (HTTP_HOST as well as SERVER_NAME) is preserved in the header, but 
not the port.

The following directive
ProxyPass /foo/ http://foo:8080/
des not preserve the SERVER_PORT in the header but replace it with 8080.

Recommandation : 
- preserve the port or 
- create a ProxyPreservePort directive or
- create a ProxyPreserveHeader directive that will preserve all. (Because at a 
time some may need also to preserve SERVER_PROTOCOL or other. In most cases, I 
think that when you want to preserve a field in the header, you want to 
preserve all fields.

GM

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


Mime
View raw message