Which contexts support rewrite rules?
+
+Rewrite rules are supported in
+per-directory context
+(.htaccess files,
+Directory, and
+If blocks).
+
+Although rewrite rules are syntactically permitted in
+Location
+and Files
+sections (including their regex counterparts), this is
+unsupported and should never be necessary. Relative
+substitutions, in particular, are likely to break in
+these contexts.
+
+These containers silently change rewrite
+behavior
+Placing a RewriteRule
+inside a Directory,
+If, or
+Location block
+— even inside a
+VirtualHost in the
+main server config — silently switches to
+per-directory context behavior.
+This means the leading slash is stripped from the URL before pattern
+matching, substitutions trigger an internal redirect (with loop risk),
+and the [L] flag no longer
+truly stops processing — use
+[END] instead.
+
+
+
+
diff --git a/docs/manual/rewrite/intro.xml b/docs/manual/rewrite/intro.xml
index 95b98c9623..eceb468fe3 100644
--- a/docs/manual/rewrite/intro.xml
+++ b/docs/manual/rewrite/intro.xml
@@ -391,7 +391,12 @@ recommended. It is possible, however, to do rewriting
inside