]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Mention that RewriteOptions inherit causes parent rules to be applied
authorRich Bowen <rbowen@apache.org>
Thu, 4 Nov 2010 15:56:08 +0000 (15:56 +0000)
committerRich Bowen <rbowen@apache.org>
Thu, 4 Nov 2010 15:56:08 +0000 (15:56 +0000)
AFTER child rules. PR46399

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1031048 13f79535-47bb-0310-9956-ffa450edef68

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

index e6b9aaeb9633e09967aba7bcfa730419703e7b37..8488239c648fc6b905f2a6a2db37e2b5893fb579 100644 (file)
@@ -1068,12 +1068,21 @@ 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
       that conditions and rules of the parent directory's
-      <code>.htaccess</code> configuration are inherited.</dd>
+      <code>.htaccess</code> configuration are inherited.</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 a9616b47cbd766adc1e40cc3819ac6517a72d9d9..0c19004b32e8a90839de0c6d761218cf1ac7b616 100644 (file)
@@ -173,12 +173,21 @@ 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
       that conditions and rules of the parent directory's
-      <code>.htaccess</code> configuration are inherited.</dd>
+      <code>.htaccess</code> configuration are inherited.</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>