You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2009/12/14 18:51:52 UTC
svn commit: r890412 - in /httpd/httpd/trunk/docs/manual/rewrite:
remapping.html.en remapping.xml
Author: rbowen
Date: Mon Dec 14 17:51:51 2009
New Revision: 890412
URL: http://svn.apache.org/viewvc?rev=890412&view=rev
Log:
Don't capture matches if you're going to discard them - replaces ^(.+)
with just ^ for a rewrite rule that doesn't use $1.
Modified:
httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en
httpd/httpd/trunk/docs/manual/rewrite/remapping.xml
Modified: httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en?rev=890412&r1=890411&r2=890412&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en Mon Dec 14 17:51:51 2009
@@ -340,7 +340,7 @@
# else go on for other Alias or ScriptAlias directives,
# etc.
-RewriteRule ^(.+) - [PT]
+RewriteRule ^ - [PT]
</pre></div>
</dd>
</dl>
Modified: httpd/httpd/trunk/docs/manual/rewrite/remapping.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/remapping.xml?rev=890412&r1=890411&r2=890412&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/remapping.xml (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/remapping.xml Mon Dec 14 17:51:51 2009
@@ -342,7 +342,7 @@
# else go on for other Alias or ScriptAlias directives,
# etc.
-RewriteRule ^(.+) - [PT]
+RewriteRule ^ - [PT]
</pre></example>
</dd>
</dl>