Commit 5948bcfa authored by Daniel Gruno's avatar Daniel Gruno
Browse files

backport r1379311: Add a notion that, for a skip flag to be used, the rewrite...

backport r1379311: Add a notion that, for a skip flag to be used, the rewrite rule has to first match (as per comment #211 on site)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1379704 13f79535-47bb-0310-9956-ffa450edef68
parent 5c93d596
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -598,7 +598,8 @@ URI in request' warnings.
<section id="flag_s"><title>S|skip</title>
<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. This can be thought of as a <code>goto</code> 
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>