From: Daniel Gruno Date: Sat, 1 Sep 2012 07:04:25 +0000 (+0000) Subject: backport r1379311: Add a notion that, for a skip flag to be used, the rewrite rule... X-Git-Tag: 2.2.24~145 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=864da924f4815b2778f6db9ad77192c643cafab5;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/docs/manual/rewrite/flags.xml b/docs/manual/rewrite/flags.xml index 479a976be6f..a0bfaae8c71 100644 --- a/docs/manual/rewrite/flags.xml +++ b/docs/manual/rewrite/flags.xml @@ -598,7 +598,8 @@ URI in request' warnings.
S|skip

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. This can be thought of as a goto +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.