httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: ProxyPass does not work inside LocationMatch
Date Sun, 12 Mar 2006 07:51:28 GMT
On Sunday 12 March 2006 00:26, Ruediger Pluem wrote:
> PR 38864 (http://issues.apache.org/bugzilla/show_bug.cgi?id=38864)
> revealed that ProxyPass does not work inside LocationMatch if
> LocationMatch uses a regular expression (which might be a frequent
> use of it :-)). I helped the reporter by pointing him to a working
> mod_rewrite configuration that does what he needs.
>
> The question that remains to me is:
>
> Should we make ProxyPass aware of regular expressions, such
> that it works inside of a LocationMatch?

Actually it's worse than that.  But AFAICS simpler to fix.

I really, *really* should have fixed it when I fixed the same problem
in ProxyPassReverse and friends, in 
http://svn.apache.org/viewcvs.cgi?rev=231355&view=rev

The basic problem is putting directives on the server_rec and then
hacking them to work inside <Location>.  The original bug was with
ProxyPassReverse, where multiple <Location>s in a virtualhost would
just overwrite each other.   Thinking back, at the time I fixed that,
I'd just never considered using ProxyPass in <Location>, and didn't
realise it was supposed to work!

So, any reason not to apply the same fix?

-- 
Nick Kew

Mime
View raw message