diff options
author | Eric Covener <covener@apache.org> | 2022-12-06 13:36:03 +0000 |
---|---|---|
committer | Eric Covener <covener@apache.org> | 2022-12-06 13:36:03 +0000 |
commit | 45c46dfcb06d1ea5d49fc3689c674f6abacc83b8 (patch) | |
tree | 57e060a30f52966372b5e3e3a78fd8f5fd90a355 | |
parent | ed9a6d74555ab6b5168c78d0b822929345e5ce6c (diff) | |
download | httpd-45c46dfcb06d1ea5d49fc3689c674f6abacc83b8.tar.gz |
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.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1905793 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | docs/manual/mod/core.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index b6c146d21c..779553d06f 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -1423,6 +1423,12 @@ EnableSendfile On </IfDefine> </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> @@ -2262,6 +2268,16 @@ satisfied by a request at runtime</description> been evaluated, and so will not be available to use in this 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> @@ -5293,6 +5309,12 @@ recognized methods to modules.</p> </IfDefine> </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> |