PR66374: add some <If> warning notes.
EXEC_ON_READ and similar can't be conditional on runtime checks,
but for backwards compat they aren't yet rejected.
@@ -1423,6 +1423,12 @@ EnableSendfile On
&lt;/IfDefine&gt;
</highlight>
+ <note type="warning"><title>Note</title>
+ <p> This directive is evaluated and configuration processing time,
+ not at runtime. As a result, this directive cannot be conditonally
+ evaluated by enclosing it in an <directive type="section" module="core"
+ >If</directive> section.</p>
+ </note>
</usage>
</directivesynopsis>
@@ -2263,6 +2269,16 @@ satisfied by a request at runtime</description>
directive.
</note>
+ <note type="warning">
+ Directives that take affect during configuration parsing, such as
+ <directive>Define</directive>, <directive>Include</directive>, and
+ <directive>Error</directive> cannot be made conditional by enclosing
+ them in an if <directive type="section">If</directive> configuration
+ section. These sections are always part of the configuration,
+ regardless of how they evaluate at runtime.
+ </note>
+
+
</usage>
<seealso><a href="../expr.html">Expressions in Apache HTTP Server</a>,
@@ -5293,6 +5309,12 @@ recognized methods to modules.</p>
&lt;/IfDefine&gt;
</highlight>
+ <note type="warning"><title>Note</title>
+ <p> This directive is evaluated and configuration processing time,
+ not at runtime. As a result, this directive cannot be conditonally
+ evaluated by enclosing it in an <directive type="section" module="core"
+ >If</directive> section.</p>
+ </note>
</usage>
</directivesynopsis>
