Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 6912 invoked from network); 11 Oct 2010 19:15:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Oct 2010 19:15:25 -0000 Received: (qmail 38436 invoked by uid 500); 11 Oct 2010 19:15:25 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 38380 invoked by uid 500); 11 Oct 2010 19:15:25 -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 38373 invoked by uid 99); 11 Oct 2010 19:15:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Oct 2010 19:15:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Mon, 11 Oct 2010 19:15:23 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0E6D4238890B; Mon, 11 Oct 2010 19:15:02 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1021471 - in /httpd/httpd/branches/2.2.x/docs/manual/mod: mod_proxy.html.en mod_proxy.xml Date: Mon, 11 Oct 2010 19:15:01 -0000 To: cvs@httpd.apache.org From: covener@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20101011191502.0E6D4238890B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: covener Date: Mon Oct 11 19:15:01 2010 New Revision: 1021471 URL: http://svn.apache.org/viewvc?rev=1021471&view=rev Log: Merge r1021468 from https://svn.apache.org/repos/asf/httpd/httpd/trunk/: Caution against using non-regex ProxyPass inside of a container. PR#50048 Submitted By: Luke Meyer Reviewed By: Eric Covener Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.html.en httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.xml Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.html.en URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.html.en?rev=1021471&r1=1021470&r2=1021471&view=diff ============================================================================== --- httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.html.en (original) +++ httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.html.en Mon Oct 11 19:15:01 2010 @@ -1179,7 +1179,10 @@ through for complex rules.

When used inside a <Location> section, the first argument is omitted and the local - directory is obtained from the <Location>.

+ directory is obtained from the <Location>. The same will occur inside a + <LocationMatch> section, + however ProxyPass does not interpret the regexp as such, so it is necessary + to use ProxyPassMatch in this situation instead.

If you require a more flexible reverse-proxy configuration, see the RewriteRule directive with the @@ -1259,6 +1262,13 @@ through

The ! directive is useful in situations where you don't want to reverse-proxy a subdirectory.

+

When used inside a <LocationMatch> section, the first argument is omitted and the + regexp is obtained from the <LocationMatch>.

+ +

If you require a more flexible reverse-proxy configuration, see the + RewriteRule directive with the + [P] flag.

+
top

ProxyPassReverse Directive

@@ -1323,7 +1333,10 @@ proxied server

When used inside a <Location> section, the first argument is omitted and the local - directory is obtained from the <Location>.

+ directory is obtained from the <Location>. The same occurs inside a <LocationMatch> section, but will probably not work as + intended, as ProxyPassReverse will interpret the regexp literally as a + path; if needed in this situation, specify the ProxyPassReverse outside + the section, or in a separate <Location> section.

top
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=1021471&r1=1021470&r2=1021471&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 Mon Oct 11 19:15:01 2010 @@ -1036,7 +1036,10 @@ expressions

When used inside a Location section, the first argument is omitted and the local directory is obtained from the Location.

+ >Location. The same will occur inside a + LocationMatch section, + however ProxyPass does not interpret the regexp as such, so it is necessary + to use ProxyPassMatch in this situation instead.

If you require a more flexible reverse-proxy configuration, see the RewriteRule directive with the @@ -1088,6 +1091,15 @@ expressions

The ! directive is useful in situations where you don't want to reverse-proxy a subdirectory.

+ +

When used inside a LocationMatch section, the first argument is omitted and the + regexp is obtained from the LocationMatch.

+ +

If you require a more flexible reverse-proxy configuration, see the + RewriteRule directive with the + [P] flag.

@@ -1159,7 +1171,12 @@ proxied server

When used inside a Location section, the first argument is omitted and the local directory is obtained from the Location.

+ >Location. The same occurs inside a LocationMatch section, but will probably not work as + intended, as ProxyPassReverse will interpret the regexp literally as a + path; if needed in this situation, specify the ProxyPassReverse outside + the section, or in a separate Location section.