From: Rich Bowen Date: Mon, 14 Dec 2009 17:51:51 +0000 (+0000) Subject: Don't capture matches if you're going to discard them - replaces ^(.+) X-Git-Tag: 2.3.5~88 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=941c8025b98a8cfb0b69012626c2272319dc270f;p=apache Don't capture matches if you're going to discard them - replaces ^(.+) with just ^ for a rewrite rule that doesn't use $1. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@890412 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/rewrite/remapping.html.en b/docs/manual/rewrite/remapping.html.en index 2d712c32f3..1d9861b965 100644 --- a/docs/manual/rewrite/remapping.html.en +++ b/docs/manual/rewrite/remapping.html.en @@ -340,7 +340,7 @@ RewriteRule ^(.+) %{DOCUMENT_ROOT}/dir2/$1 [L] # else go on for other Alias or ScriptAlias directives, # etc. -RewriteRule ^(.+) - [PT] +RewriteRule ^ - [PT] diff --git a/docs/manual/rewrite/remapping.xml b/docs/manual/rewrite/remapping.xml index 7e822f7cbf..a392c83b69 100644 --- a/docs/manual/rewrite/remapping.xml +++ b/docs/manual/rewrite/remapping.xml @@ -342,7 +342,7 @@ RewriteRule ^(.+) %{DOCUMENT_ROOT}/dir2/$1 [L] # else go on for other Alias or ScriptAlias directives, # etc. -RewriteRule ^(.+) - [PT] +RewriteRule ^ - [PT]