
bugzilla at apache
Jul 30, 2012, 3:25 AM
Post #2 of 3
(111 views)
Permalink
|
|
[Bug 51489] ProxyPassReverse does not work in load balancer setups
[In reply to]
|
|
https://issues.apache.org/bugzilla/show_bug.cgi?id=51489 --- Comment #8 from Micha Lenk <micha [at] lenk> --- 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: bugs-unsubscribe [at] httpd For additional commands, e-mail: bugs-help [at] httpd
|