https://issues.apache.org/bugzilla/show_bug.cgi?id=51489

             Bug #: 51489
           Summary: ProxyPassReverse adds an additonal slash in load
                    balancer setup
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


Created attachment 27275
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27275
Fix additional slash added by ProxyPassReverse in LoadBalancer setup

When Apache is used as reverse proxy in a load balancer setup, the option
'ProxyPassReverse' adds an additional slash between the server name and the
path in the Location: header sent to the web browser.

Used configuration (for reproduction of this issue):

<Proxy balancer://196f045aca6adc82a0b6eea93ed286a1>
    BalancerMember http://server-1.local status=-SE
    BalancerMember http://server-2.local status=-SE
</Proxy>
<VirtualHost 10.8.16.33:80>
    ServerName frontend.local

    <Location />
        ProxyPass balancer://196f045aca6adc82a0b6eea93ed286a1/
        ProxyPassReverse balancer://196f045aca6adc82a0b6eea93ed286a1/
    </Location>
</VirtualHost>

Apparently there is no way to alter the configuration to prevent the addition
of the slash.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to