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 2002/08/02 11:02:38 UTC

DO NOT REPLY [Bug 11404] New: - ProxyPreserveHost directive does not preserve port

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