httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbo...@apache.org
Subject svn commit: r1733403 - /httpd/httpd/branches/2.4.x/docs/manual/rewrite/rewritemap.xml
Date Thu, 03 Mar 2016 01:13:25 GMT
Author: rbowen
Date: Thu Mar  3 01:13:25 2016
New Revision: 1733403

URL: http://svn.apache.org/viewvc?rev=1733403&view=rev
Log:
rewritemap doc improvements from trunk

Modified:
    httpd/httpd/branches/2.4.x/docs/manual/rewrite/rewritemap.xml

Modified: httpd/httpd/branches/2.4.x/docs/manual/rewrite/rewritemap.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/rewrite/rewritemap.xml?rev=1733403&r1=1733402&r2=1733403&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/rewrite/rewritemap.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/rewrite/rewritemap.xml Thu Mar  3 01:13:25 2016
@@ -326,7 +326,7 @@ by many requests.
     <highlight language="config">
 
 RewriteMap lc int:tolower
-RewriteRule "(.*?[A-Z]+.*)" "${lc:$1}" [R]
+RewriteRule "(.*)" "${lc:$1}" [R]
     </highlight>
 
     <note>
@@ -377,12 +377,12 @@ RewriteRule "-" "${d2u:%{REQUEST_URI}}"
 
     <p><strong>dash2under.pl</strong></p>
     <highlight language="perl">
-    #!/usr/bin/perl
-    $| = 1; # Turn off I/O buffering
-    while (&lt;STDIN&gt;) {
-        s/-/_/g; # Replace dashes with underscores
-        print $_;
-    }
+#!/usr/bin/perl
+$| = 1; # Turn off I/O buffering
+while (&lt;STDIN&gt;) {
+    s/-/_/g; # Replace dashes with underscores
+    print $_;
+}
     </highlight>
 
 <note><title>Caution!</title>



Mime
View raw message