From: Rich Bowen Date: Wed, 25 Jul 2007 15:38:14 +0000 (+0000) Subject: Fix rewriterule directive, as per comment #9 in X-Git-Tag: 2.3.0~1693 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8517b857e0f0319e4ff8071d4d2ccc3c48547265;p=thirdparty%2Fapache%2Fhttpd.git Fix rewriterule directive, as per comment #9 in 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 --- diff --git a/docs/manual/rewrite/flags.html.en b/docs/manual/rewrite/flags.html.en index 5db2696b81c..b3eb688d503 100644 --- a/docs/manual/rewrite/flags.html.en +++ b/docs/manual/rewrite/flags.html.en @@ -105,7 +105,7 @@ environment variable is used to exclude those requests from the access log.

-RewriteRule %{REQUEST_URI} \.(png|gif|jpg) - [E=image:1]
+RewriteRule \.(png|gif|jpg) - [E=image:1]
CustomLog logs/access_log combined env=!image

diff --git a/docs/manual/rewrite/flags.xml b/docs/manual/rewrite/flags.xml index 694b0a14568..bf97b577b2b 100644 --- a/docs/manual/rewrite/flags.xml +++ b/docs/manual/rewrite/flags.xml @@ -112,7 +112,7 @@ environment variable is used to exclude those requests from the access log.

-RewriteRule %{REQUEST_URI} \.(png|gif|jpg) - [E=image:1]
+RewriteRule \.(png|gif|jpg) - [E=image:1]
CustomLog logs/access_log combined env=!image