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 2016/03/03 01:54:41 UTC

svn commit: r1733398 - /httpd/httpd/trunk/docs/manual/rewrite/rewritemap.xml

Author: rbowen
Date: Thu Mar  3 00:54:41 2016
New Revision: 1733398

URL: http://svn.apache.org/viewvc?rev=1733398&view=rev
Log:
Unnecessary .*'s floating around just make this less readable.

Modified:
    httpd/httpd/trunk/docs/manual/rewrite/rewritemap.xml

Modified: httpd/httpd/trunk/docs/manual/rewrite/rewritemap.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/rewritemap.xml?rev=1733398&r1=1733397&r2=1733398&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/rewritemap.xml (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/rewritemap.xml Thu Mar  3 00:54:41 2016
@@ -147,8 +147,8 @@ may be used, and give examples of each.<
 
    <p> <strong>Redirect a URI to an all-lowercase version of itself</strong></p>
     <highlight language="config">
-RewriteMap lc "int:tolower"
-RewriteRule "(.*?[A-Z]+.*)" "${lc:$1}" [R]
+RewriteMap lc int:tolower
+RewriteRule (.*) ${lc:$1} [R]
     </highlight>
 
     <note>