httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: Bug with "ProxyPass /" and mod_proxy_balancer + double-slashes (httpd-2.4.3)
Date Thu, 13 Sep 2012 18:59:27 GMT

On Sep 13, 2012, at 2:06 PM, Zisis Lianas <Zisis.Lianas@consol.de> wrote:

> With this configuration I get a 500 error because of
> "[proxy_balancer:trace1] ... mod_proxy_balancer.c(73): ... canonicalising
> URL //defaultclusterjsp", when trying to access "/clusterjsp":
>  ProxyPass / balancer://default
>  ProxyPassReverse / balancer://default
> Maybe this also expected.
> 
> 
> But:
> With this configuration I get the doubleslash bug, when the
> backend is returning a 301:
>  ProxyPass / balancer://default/
>  ProxyPassReverse / balancer://default/
> 
> See also "proxypass_20120906.0.txt" attachment in one of my
> emails before with the logfile trace.
> 


I see

  [Thu Sep 06 13:24:00.117313 2012] [proxy_http:trace3] [pid 29121:tid 139699051894528] mod_proxy_http.c(1689):
[client 10.x.x.x:56178] Status from backend: 301
  [Thu Sep 06 13:24:00.117377 2012] [proxy_http:trace4] [pid 29121:tid 139699051894528] mod_proxy_http.c(1373):
[client 10.x.x.x:56178] Headers received from backend:
  [Thu Sep 06 13:24:00.117416 2012] [proxy_http:trace4] [pid 29121:tid 139699051894528] mod_proxy_http.c(1375):
[client 10.x.x.x:56178] Location: http://backend01.foo:5080/clusterjsp/
...
  [Thu Sep 06 13:24:00.117891 2012] [http:trace3] [pid 29121:tid 139699051894528] http_filters.c(963):
[client 10.x.x.x:56178] Response sent with status 301, headers:
  [Thu Sep 06 13:24:00.117977 2012] [http:trace4] [pid 29121:tid 139699051894528] http_filters.c(806):
[client 10.x.x.x:56178]   Location: http://mydomain.foo:8080//clusterjsp/

So in the case it is correctly adjusting the backend URL Location (backend01.foo:5080 ->
mydomain.foo:8080)

So is the "bug" that it's

	http://mydomain.foo:8080//clusterjsp/

and not

	http://mydomain.foo:8080/clusterjsp/

??

Certainly the redirect still works, right?
Mime
View raw message