From: Daniel Gruno Date: Fri, 31 Aug 2012 06:36:24 +0000 (+0000) Subject: Add a notion that, for a skip flag to be used, the rewrite rule has to first match... X-Git-Tag: 2.5.0-alpha~6370 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=528e764aee0892ec2021ae5df5e812cba760ee8d;p=thirdparty%2Fapache%2Fhttpd.git 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/trunk@1379311 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/rewrite/flags.xml b/docs/manual/rewrite/flags.xml index 5975f8de667..ec37f5c35f5 100644 --- a/docs/manual/rewrite/flags.xml +++ b/docs/manual/rewrite/flags.xml @@ -628,7 +628,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.