]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mention some non-inuititive <If> stuff
authorEric Covener <covener@apache.org>
Sat, 3 Dec 2022 15:31:53 +0000 (15:31 +0000)
committerEric Covener <covener@apache.org>
Sat, 3 Dec 2022 15:31:53 +0000 (15:31 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1905716 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/sections.xml

index 4ac440c78aa9125a39bef689222ae63c6aba8c1f..1689f26ff88fb2857ef7d3f60ab91ecadf4027f8 100644 (file)
@@ -481,7 +481,8 @@ are interpreted, it is important to understand how this works.</p>
       and <directive type="section"
       module="core">LocationMatch</directive> done simultaneously</li>
 
-      <li><directive type="section" module="core">If</directive>
+      <li><directive type="section" module="core">If</directive> sections, even when
+      they are enclosed in any of the preceding contexts.
       </li>
 
     </ol>
@@ -519,6 +520,15 @@ are interpreted, it is important to understand how this works.</p>
         container takes the place of the <directive module="core"
         type="section">Directory</directive> container in the processing
         order.</li>
+        <li> Caution should be exercised when mixing related configuration
+        directives inside and outside of <directive type="section" module="core"
+        >If</directive> because of the effect on merging order.  Explicit use
+        of <directive type="section" module="core" >Else</directive> can help.
+        </li>
+        <li> When <directive type="section" module="core" >If</directive> is 
+        used in <code>.htaccess</code>, the enclosed directives in a parent 
+        directory will be merged <em>after</em> non-enclosed directives in a 
+        subdirectory.</li>
     </ul>
 
     <note><title>Technical Note</title>