Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Bugs

[Bug 51489] ProxyPassReverse does not work in load balancer setups

 

 

Apache bugs RSS feed   Index | Next | Previous | View Threaded


bugzilla at apache

Jul 30, 2012, 2:14 AM

Post #1 of 3 (118 views)
Permalink
[Bug 51489] ProxyPassReverse does not work in load balancer setups

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

Micha Lenk <micha [at] lenk> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |NEW
Version|2.2.21 |2.4.2
Summary|ProxyPassReverse adds an |ProxyPassReverse does not
|additional slash in load |work in load balancer
|balancer setup |setups

--- Comment #7 from Micha Lenk <micha [at] lenk> ---
I just tried to reproduce the issue again with Apache 2.4.2. Now the directive
doesn't work at all in a load balancer setup. :(

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


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


bugzilla at apache

Jul 30, 2012, 11:03 AM

Post #3 of 3 (110 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 #9 from Micha Lenk <micha [at] lenk> ---
Ok, issue from last comment is already fixed in trunk via PR #45434.

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

Apache bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.