From 1c8ea7cacb3da42eba67a72ee20bf2139ab71471 Mon Sep 17 00:00:00 2001 From: Daniel Gruno Date: Fri, 5 Oct 2012 22:03:57 +0000 Subject: [PATCH] Also note that RewriteCond directives have to match for the skip flag to work. 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 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/manual/rewrite/flags.xml b/docs/manual/rewrite/flags.xml index ec37f5c35f5..a983e3df7be 100644 --- a/docs/manual/rewrite/flags.xml +++ b/docs/manual/rewrite/flags.xml @@ -629,10 +629,12 @@ URI in request' warnings.

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 (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.

+RewriteRule and any preceding +RewriteCond directives match). 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.

# Is the request for a non-existent file? -- 2.47.3