From: Daniel Gruno
Date: Fri, 5 Oct 2012 22:03:57 +0000 (+0000)
Subject: Also note that RewriteCond directives have to match for the skip flag to work.
X-Git-Tag: 2.5.0-alpha~6234
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=054159027ad29b80cb84267a9184599065445519;p=apache
Also note that RewriteCond directives have to match for the skip flag to work.
Reported at http://httpd.apache.org/docs/2.2/rewrite/flags.html#comment_322
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1394837 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/rewrite/flags.xml b/docs/manual/rewrite/flags.xml
index ec37f5c35f..a983e3df7b 100644
--- a/docs/manual/rewrite/flags.xml
+++ b/docs/manual/rewrite/flags.xml
@@ -629,10 +629,12 @@ URI in request' warnings.
The [S] flag is used to skip rules that you don't want to run. The
syntax of the skip flag is [S=N], where N signifies
the number of rules to skip (provided the
-RewriteRule matches). This can be thought of as a goto
-statement in your rewrite ruleset. In the following example, we only want
-to run the RewriteRule if the
-requested URI doesn't correspond with an actual file.
+RewriteRule and any preceding
+RewriteCond directives match). This can be thought of as a
+goto
statement in your rewrite ruleset. In the following
+example, we only want to run the
+RewriteRule if the requested URI doesn't correspond with an
+actual file.
# Is the request for a non-existent file?