Mailing List Archive

svn commit: r1905717 - in /httpd/httpd/branches/2.4.x: ./ docs/manual/sections.xml
Author: covener
Date: Sat Dec 3 15:37:02 2022
New Revision: 1905717

URL: http://svn.apache.org/viewvc?rev=1905717&view=rev
Log:
Merge r1905716 from trunk:

mention some non-inuititive <If> stuff



Modified:
httpd/httpd/branches/2.4.x/ (props changed)
httpd/httpd/branches/2.4.x/docs/manual/sections.xml

Propchange: httpd/httpd/branches/2.4.x/
------------------------------------------------------------------------------
Merged /httpd/httpd/trunk:r1905716

Modified: httpd/httpd/branches/2.4.x/docs/manual/sections.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/sections.xml?rev=1905717&r1=1905716&r2=1905717&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/sections.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/sections.xml Sat Dec 3 15:37:02 2022
@@ -480,7 +480,8 @@ are interpreted, it is important to unde
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>
@@ -518,6 +519,15 @@ are interpreted, it is important to unde
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>