httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 46534] New: mod_proxy_ajp scheme and port do not follow UseCanonicalPhysicalPort
Date Thu, 15 Jan 2009 04:06:33 GMT

           Summary: mod_proxy_ajp scheme and port do not follow
           Product: Apache httpd-2
           Version: 2.2.11
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy_ajp

Created an attachment (id=23119)
 --> (
Use ap_http_scheme and ap_get_server_port to determine the scheme and port

At present mod_proxy_ajp will always send through the real scheme and port of
the request through to a backend server. If the backend server wishes to
perform a redirect, then the client will be redirected to the wrong place.

For example, I'm using SSL offload appliance sitting in front of Apache, and
Apache receives http on either 80 or 81 for normal or secure. At present,
Apache will send http+81 through to the backend server, however with
UseCanonicalName off, UseCanonicalPhysicalPort off, and a ServerName of
"https://....:443", I believe it should be going through as https+443.
(Following the advice given in

The attached patch makes use of the ap_http_scheme and ap_get_server_port
functions, so that the UseCanonicalX directives are respected.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message