]> granicus.if.org Git - apache/commitdiff
Also note that RewriteCond directives have to match for the skip flag to work.
authorDaniel Gruno <humbedooh@apache.org>
Fri, 5 Oct 2012 22:03:57 +0000 (22:03 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Fri, 5 Oct 2012 22:03:57 +0000 (22:03 +0000)
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

docs/manual/rewrite/flags.xml

index ec37f5c35f51534754dc95eb70bcd7f1a0c676a3..a983e3df7be98199a72ca6221eee7cb47d3edd1f 100644 (file)
@@ -629,10 +629,12 @@ URI in request' warnings.
 <p>The [S] flag is used to skip rules that you don't want to run. The 
 syntax of the skip flag is [S=<em>N</em>], where <em>N</em> signifies 
 the number of rules to skip (provided the <directive module="mod_rewrite">
-RewriteRule</directive> matches). This can be thought of as a <code>goto</code> 
-statement in your rewrite ruleset. In the following example, we only want 
-to run the <directive module="mod_rewrite">RewriteRule</directive> if the 
-requested URI doesn't correspond with an actual file.</p>
+RewriteRule</directive> and any preceding <directive module="mod_rewrite">
+RewriteCond</directive> directives match). This can be thought of as a 
+<code>goto</code> statement in your rewrite ruleset. In the following 
+example, we only want to run the <directive module="mod_rewrite">
+RewriteRule</directive> if the requested URI doesn't correspond with an 
+actual file.</p>
 
 <highlight language="config">
 # Is the request for a non-existent file?