]> granicus.if.org Git - apache/commitdiff
Unnecessary .*'s floating around just make this less readable.
authorRich Bowen <rbowen@apache.org>
Thu, 3 Mar 2016 00:54:41 +0000 (00:54 +0000)
committerRich Bowen <rbowen@apache.org>
Thu, 3 Mar 2016 00:54:41 +0000 (00:54 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1733398 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/rewrite/rewritemap.xml

index c4e7df590bc6ecf10878ce8d591c340c919c7ac0..e97f9062f3656e055f10cb970a4b85ebdebc11b5 100644 (file)
@@ -147,8 +147,8 @@ may be used, and give examples of each.</p>
 
    <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>