From: Rich Bowen
When using [F], an [L] is implied - that is, the response is returned +immediately, and no further rules are evaluated.
+
RewriteRule oldproduct - [G,NC]
When using [F], an [L] is implied - that is, the response is returned +immediately, and no further rules are evaluated.
+The [L] flag causes mod_rewrite
to stop processing
the rule set. In most contexts, this means that if the rule matches, no
-further rules will be processed.
last
command in Perl, or the break
command in
+C. Use this flag to indicate that the current rule should be applied
+immediately without considering further rules.
If you are using RewriteRule
in either
.htaccess
files or in
@@ -482,7 +492,7 @@ to be discarded.
-Using [QSD] and [QSA] together will result in [QSD] taking preference. +Using [QSD] and [QSA] together will result in [QSD] taking precedence.
diff --git a/docs/manual/rewrite/flags.xml b/docs/manual/rewrite/flags.xml index e1c904f016..5d368fab83 100644 --- a/docs/manual/rewrite/flags.xml +++ b/docs/manual/rewrite/flags.xml @@ -241,6 +241,9 @@ RewriteRule \.exe - [F] that the requested URI is not modified. There's no reason to rewrite to another URI, if you're going to forbid the request.
+When using [F], an [L] is implied - that is, the response is returned +immediately, and no further rules are evaluated.
+When using [F], an [L] is implied - that is, the response is returned +immediately, and no further rules are evaluated.
+The [L] flag causes
last
command in Perl, or the break
command in
+C. Use this flag to indicate that the current rule should be applied
+immediately without considering further rules.
If you are using
-Using [QSD] and [QSA] together will result in [QSD] taking preference. +Using [QSD] and [QSA] together will result in [QSD] taking precedence.