From: Daniel Gruno Date: Thu, 19 Jul 2012 15:14:14 +0000 (+0000) Subject: fiw newlines X-Git-Tag: 2.2.23~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9827f4b3f9b2d340aeefb1eb41db2a53d523c3c6;p=thirdparty%2Fapache%2Fhttpd.git fiw newlines git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1363373 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/rewrite/flags.html.en b/docs/manual/rewrite/flags.html.en index 6fbf50ff21a..33761d45fe4 100644 --- a/docs/manual/rewrite/flags.html.en +++ b/docs/manual/rewrite/flags.html.en @@ -601,13 +601,13 @@ to run the

-# Is the request for a non-existent file? -RewriteCond %{REQUEST_FILENAME} !-f -RewriteCond %{REQUEST_FILENAME} !-d -# If so, skip these two RewriteRules -RewriteRule .? - [S=2] -RewriteRule (.*\.gif) images.php?$1 -RewriteRule (.*\.html) docs.php?$1 +# Is the request for a non-existent file?
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
+# If so, skip these two RewriteRules
+RewriteRule .? - [S=2]
+RewriteRule (.*\.gif) images.php?$1
+RewriteRule (.*\.html) docs.php?$1

This technique is useful because a RewriteCond only applies to the diff --git a/docs/manual/rewrite/flags.xml b/docs/manual/rewrite/flags.xml index e442b70d131..479a976be6f 100644 --- a/docs/manual/rewrite/flags.xml +++ b/docs/manual/rewrite/flags.xml @@ -604,13 +604,13 @@ to run the RewriteRule if the requested URI doesn't correspond with an actual file.

-# Is the request for a non-existent file? -RewriteCond %{REQUEST_FILENAME} !-f -RewriteCond %{REQUEST_FILENAME} !-d -# If so, skip these two RewriteRules -RewriteRule .? - [S=2] -RewriteRule (.*\.gif) images.php?$1 -RewriteRule (.*\.html) docs.php?$1 +# Is the request for a non-existent file?
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
+# If so, skip these two RewriteRules
+RewriteRule .? - [S=2]
+RewriteRule (.*\.gif) images.php?$1
+RewriteRule (.*\.html) docs.php?$1

This technique is useful because a