https://bz.apache.org/bugzilla/show_bug.cgi?id=63176

--- Comment #4 from Ruediger Pluem <rpl...@apache.org> ---
(In reply to Yann Ylavic from comment #3)
> > ProxyPass /test/ http://localhost/ 
> > ProxyRemoteMatch http://localhost/.*hit.html http://localhost:8080
> > 
> > Listen 8080
> > 
> > <VirtualHost *:8080>
> >   ProxyRequests on
> >   <Proxy "*">
> >      Require all denied
> >   </Proxy>
> > </VirtualHost>
> 
> What is this configuration supposed to achieve, reverse-proxying to a
> forward-proxy? What is "Listen"ing on port 80?

Apart from the weird setup which purpose I struggle to understand as well I
guess I know what is happening. As the configuration uses a remote proxy for
certain URL's of the backend and not for others (.*hit.html on the backend
requires the usage of a remote proxy all other URL's do not) we get into
trouble with our connection reusing. Once the worker for a backend returns a a
usable connection for a backend we no longer check whether this particular URL
should go directly or via a proxy. We just take what we have and use it.
Currently the above could be fixed by either disabling the reuse of connections
or by having a separate ProxyPassMatch ^(/test/.*hit.html)$ http://localhost$1
that is configured before the ProxyPass.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to