]> granicus.if.org Git - apache/commitdiff
Note that RewriteOptions inherit causes parent rules to be applied AFTER
authorRich Bowen <rbowen@apache.org>
Thu, 4 Nov 2010 15:51:51 +0000 (15:51 +0000)
committerRich Bowen <rbowen@apache.org>
Thu, 4 Nov 2010 15:51:51 +0000 (15:51 +0000)
child scope rules. PR46399

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1031046 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_rewrite.html.en
docs/manual/mod/mod_rewrite.xml

index d5722d3e3706318ae84f7c1153f166577476d5a8..21eadbdce8231a72a74767c02cac4115d7326562 100644 (file)
@@ -799,7 +799,9 @@ later</td></tr>
 
       <dl>
       <dt><code>inherit</code></dt>
-      <dd>This forces the current configuration to inherit the
+      <dd>
+      
+      <p>This forces the current configuration to inherit the
       configuration of the parent. In per-virtual-server context,
       this means that the maps, conditions and rules of the main
       server are inherited. In per-directory context this means
@@ -812,7 +814,13 @@ later</td></tr>
       the local rules. The position of this directive - below or above
       of local rules - has no influence on this behavior. If local
       rules forced the rewriting to stop, the inherited rules won't
-      be processed.</dd>
+      be processed.</p>
+     
+      <div class="warning">
+      Rules inherited from the parent scope are applied
+      <strong>after</strong> rules specified in the child scope.
+      </div>
+      </dd>
       </dl>
 
 </div>
index 762633e03c8931e5da07099692b8998abb432414..39873be967b1d94cada0a77eae9c0eef8d2801e9 100644 (file)
@@ -141,7 +141,9 @@ later</compatibility>
 
       <dl>
       <dt><code>inherit</code></dt>
-      <dd>This forces the current configuration to inherit the
+      <dd>
+      
+      <p>This forces the current configuration to inherit the
       configuration of the parent. In per-virtual-server context,
       this means that the maps, conditions and rules of the main
       server are inherited. In per-directory context this means
@@ -154,7 +156,13 @@ later</compatibility>
       the local rules. The position of this directive - below or above
       of local rules - has no influence on this behavior. If local
       rules forced the rewriting to stop, the inherited rules won't
-      be processed.</dd>
+      be processed.</p>
+     
+      <note type="warning">
+      Rules inherited from the parent scope are applied
+      <strong>after</strong> rules specified in the child scope.
+      </note>
+      </dd>
       </dl>
 </usage>