From 528e764aee0892ec2021ae5df5e812cba760ee8d Mon Sep 17 00:00:00 2001 From: Daniel Gruno Date: Fri, 31 Aug 2012 06:36:24 +0000 Subject: [PATCH] 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 --- docs/manual/rewrite/flags.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/manual/rewrite/flags.xml b/docs/manual/rewrite/flags.xml index 5975f8de66..ec37f5c35f 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.

-- 2.49.0