Ah, I see. Iow, when you have proxypass or proxypassreverse directives in 
server config, first match wins and per-directory merging works accordingly.

However, as in our case, when all proxypassreverse directives are instead 
within Location tags, and it's always ProxyPassReverse / xxx, I don't see a way 
to properly match the right proxypassreverse directive if it also matches a 
less-specific location, given what I said before about the ordering.

I don't think there's a way to make it work properly in per-location without 
changing the code.



Sent via BlackBerry from SingTel!

-----Original Message-----
From: Eric Covener <cove...@gmail.com>
Date: Tue, 15 Jun 2010 09:07:36 
To: <modules-dev@httpd.apache.org>
Reply-To: modules-dev@httpd.apache.org
Subject: Re: mod_proxy per-directory settings handling

> Am I wrong? Is there some other reason why mod_proxy needs to go through the
> aliases in forward order, maybe related to regex matching?

Just convention that the first match is the operative one (which is
also why the "!" rules have to come before whatever would match them).
 Could make it configurable but probably not a candidate for a change
in default (IMO)


-- 
Eric Covener
cove...@gmail.com

Reply via email to