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

--- Comment #8 from Micha Lenk <[email protected]> ---
This tiny patch for Apache 2.4.2 makes the ProxyPassReverse work again in a
load balancer setup, however, the initially reported bug with the additional
slash is then still unfixed:

--- a/modules/proxy/proxy_util.c
+++ b/modules/proxy/proxy_util.c
@@ -852,6 +852,7 @@ PROXY_DECLARE(const char *)
ap_proxy_location_reverse_map(request_rec *r,
             (balancer = ap_proxy_get_balancer(r->pool, sconf, real, 1))) {
             int n, l3 = 0;
             proxy_worker **worker = (proxy_worker **)balancer->workers->elts;
+            real += strlen(BALANCER_PREFIX);
             const char *urlpart = ap_strchr_c(real, '/');
             if (urlpart) {
                 if (!urlpart[1])

-- 
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