]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
backport updated T= per-directory caveat for PR 36590
authorEric Covener <covener@apache.org>
Sun, 7 Mar 2010 12:36:30 +0000 (12:36 +0000)
committerEric Covener <covener@apache.org>
Sun, 7 Mar 2010 12:36:30 +0000 (12:36 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@919978 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/rewrite/rewrite_flags.html.en
docs/manual/rewrite/rewrite_flags.xml

index f0de514cf5b76348f2c711afd56f9cd72c59837c..3df7d319b4b50fa27b35415eb0975dd873033dee 100644 (file)
@@ -410,6 +410,13 @@ instead. Always consider the alternate
 solutions to a problem before resorting to rewrite, which will
 invariably be a less efficient solution than the alternatives.</p>
 
+<p>
+If used in per-directory context, use only <code>-</code> (dash)
+as the substitution <em>for the entire round of mod_rewrite processing</em>,
+otherwise the MIME-type set with this flag is lost due to an internal
+re-processing (including subsequent rounds of mod_rewrite processing).
+The <code>L</code> flag can be useful in this context to end the
+<em>current</em> round of mod_rewrite processing.</p>
 
 </div></div>
 <div class="bottomlang">
index 8c7bcd36b1307c139420406a9ce90c7628d78779..ae2b97f9f479980f1350d7deb55ea75b4112685f 100644 (file)
@@ -426,8 +426,15 @@ using <directive type="section" module="core">FilesMatch</directive>
 instead. Always consider the alternate
 solutions to a problem before resorting to rewrite, which will
 invariably be a less efficient solution than the alternatives.</p>
-</section>
 
+<p>
+If used in per-directory context, use only <code>-</code> (dash)
+as the substitution <em>for the entire round of mod_rewrite processing</em>,
+otherwise the MIME-type set with this flag is lost due to an internal
+re-processing (including subsequent rounds of mod_rewrite processing).
+The <code>L</code> flag can be useful in this context to end the
+<em>current</em> round of mod_rewrite processing.</p>
+</section>
 </section>
 </manualpage>