Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 10511 invoked from network); 27 Aug 2009 16:18:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Aug 2009 16:18:45 -0000 Received: (qmail 91590 invoked by uid 500); 27 Aug 2009 16:18:44 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 91504 invoked by uid 500); 27 Aug 2009 16:18:44 -0000 Mailing-List: contact cvs-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 cvs@httpd.apache.org Received: (qmail 91495 invoked by uid 99); 27 Aug 2009 16:18:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 16:18:44 +0000 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 16:18:42 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C9106238884C; Thu, 27 Aug 2009 16:18:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r808489 - /httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.xml Date: Thu, 27 Aug 2009 16:18:20 -0000 To: cvs@httpd.apache.org From: niq@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090827161822.C9106238884C@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: niq Date: Thu Aug 27 16:18:19 2009 New Revision: 808489 URL: http://svn.apache.org/viewvc?rev=808489&view=rev Log: Improve docs note on PR 46665 (ProxyPassMatch buglet) as suggested by wrowe Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.xml Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.xml URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.xml?rev=808489&r1=808488&r2=808489&view=diff ============================================================================== --- httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.xml (original) +++ httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.xml Thu Aug 27 16:18:19 2009 @@ -945,10 +945,18 @@ http://example.com/foo/bar.gif to be internally converted into a proxy request to http://backend.example.com/foo/bar.gif.

Note - The URL argument must be parsable as a URL before regexp +

The URL argument must be parsable as a URL before regexp substitutions (as well as after). This limits the matches you can use. - See PR 46665 - for details and workaround ideas. + For instance, if we had used

+ + ProxyPassMatch ^(/.*\.gif)$ http://backend.example.com:8000$1 + +

in our previous example, it would fail. This is a bug + (PR 46665 in the ASF bugzilla), and the workaround is to + reformulate the match, so the above will work if expressed as

+ + ProxyPassMatch ^/(.*\.gif)$ http://backend.example.com:8000/$1 +

The ! directive is useful in situations where you don't want