]> granicus.if.org Git - apache/commitdiff
Fix rewriterule directive, as per comment #9 in
authorRich Bowen <rbowen@apache.org>
Wed, 25 Jul 2007 15:38:14 +0000 (15:38 +0000)
committerRich Bowen <rbowen@apache.org>
Wed, 25 Jul 2007 15:38:14 +0000 (15:38 +0000)
http://issues.apache.org/bugzilla/show_bug.cgi?id=40004

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@559494 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/rewrite/flags.html.en
docs/manual/rewrite/flags.xml

index 5db2696b81c9b5c2a23e6ef937ccf052615c14a3..b3eb688d503fe440d52530812ac6d95f09fe6442 100644 (file)
@@ -105,7 +105,7 @@ environment variable is used to exclude those requests from the access
 log.</p>
 
 <div class="example"><p><code>
-RewriteRule %{REQUEST_URI} \.(png|gif|jpg) - [E=image:1]<br />
+RewriteRule \.(png|gif|jpg) - [E=image:1]<br />
 CustomLog logs/access_log combined env=!image
 </code></p></div>
 
index 694b0a14568b5229a1a521809dc0d07ed204e1e6..bf97b577b2bb2347f61e266b6738a7641553561e 100644 (file)
@@ -112,7 +112,7 @@ environment variable is used to exclude those requests from the access
 log.</p>
 
 <example>
-RewriteRule %{REQUEST_URI} \.(png|gif|jpg) - [E=image:1]<br />
+RewriteRule \.(png|gif|jpg) - [E=image:1]<br />
 CustomLog logs/access_log combined env=!image
 </example>