Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 88405 invoked from network); 12 Mar 2006 07:51:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Mar 2006 07:51:59 -0000 Received: (qmail 4746 invoked by uid 500); 12 Mar 2006 07:51:56 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 4664 invoked by uid 500); 12 Mar 2006 07:51:55 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 4653 invoked by uid 99); 12 Mar 2006 07:51:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Mar 2006 23:51:55 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [80.229.52.226] (HELO asgard.webthing.com) (80.229.52.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Mar 2006 23:51:54 -0800 Received: from asgard (asgard [192.168.10.2]) by asgard.webthing.com (Postfix) with ESMTP id CB3FA6456A for ; Sun, 12 Mar 2006 07:51:32 +0000 (GMT) From: Nick Kew Organization: WebThing Ltd To: dev@httpd.apache.org Subject: Re: ProxyPass does not work inside LocationMatch Date: Sun, 12 Mar 2006 07:51:28 +0000 User-Agent: KMail/1.8.3 References: <44136A98.8060402@apache.org> In-Reply-To: <44136A98.8060402@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603120751.31745.nick@webthing.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 . The original bug was with ProxyPassReverse, where multiple 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 , and didn't realise it was supposed to work! So, any reason not to apply the same fix? -- Nick Kew