From: Daniel Gruno RewriteRule if the
requested URI doesn't correspond with an actual file.
+
# Is the request for a non-existent file? RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d @@ -608,8 +608,7 @@ RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .? - [S=2] RewriteRule (.*\.gif) images.php?$1 RewriteRule (.*\.html) docs.php?$1 - - +This technique is useful because a
RewriteCondonly applies to theRewriteRuleimmediately diff --git a/docs/manual/rewrite/flags.xml.fr b/docs/manual/rewrite/flags.xml.fr index 0ad2eedc016..d004335f303 100644 --- a/docs/manual/rewrite/flags.xml.fr +++ b/docs/manual/rewrite/flags.xml.fr @@ -1,7 +1,7 @@ - +