From: Rich Bowen Date: Thu, 3 Mar 2016 01:13:25 +0000 (+0000) Subject: rewritemap doc improvements from trunk X-Git-Tag: 2.4.19~112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63c243c17b7360b41e5d563842c2d0bc2564560b;p=thirdparty%2Fapache%2Fhttpd.git rewritemap doc improvements from trunk git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1733403 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/rewrite/rewritemap.xml b/docs/manual/rewrite/rewritemap.xml index a8f664f41c9..2c7186645b2 100644 --- a/docs/manual/rewrite/rewritemap.xml +++ b/docs/manual/rewrite/rewritemap.xml @@ -326,7 +326,7 @@ by many requests. RewriteMap lc int:tolower -RewriteRule "(.*?[A-Z]+.*)" "${lc:$1}" [R] +RewriteRule "(.*)" "${lc:$1}" [R] @@ -377,12 +377,12 @@ RewriteRule "-" "${d2u:%{REQUEST_URI}}"

dash2under.pl

- #!/usr/bin/perl - $| = 1; # Turn off I/O buffering - while (<STDIN>) { - s/-/_/g; # Replace dashes with underscores - print $_; - } +#!/usr/bin/perl +$| = 1; # Turn off I/O buffering +while (<STDIN>) { + s/-/_/g; # Replace dashes with underscores + print $_; +} Caution!