summaryrefslogtreecommitdiff
path: root/docs/manual/mod/core.xml
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2010-01-30 12:18:18 +0000
committerStefan Fritsch <sf@apache.org>2010-01-30 12:18:18 +0000
commit2d507c2fcdd5914d13a99399d80cbb9f85baf1d0 (patch)
tree1a24522285da6d9f2d0265c3323ac1b39a03403a /docs/manual/mod/core.xml
parentdc82c3eb120d632100499734118c17c03a482ead (diff)
downloadhttpd-2d507c2fcdd5914d13a99399d80cbb9f85baf1d0.tar.gz
Allow the Define directive to undefine a variable by prefixing the
argument with a '!'. PR: 35350 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@904768 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/core.xml')
-rw-r--r--docs/manual/mod/core.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml
index 2bfdcb1a27..79e47416c6 100644
--- a/docs/manual/mod/core.xml
+++ b/docs/manual/mod/core.xml
@@ -596,8 +596,8 @@ which no other media type configuration could be found.
<directivesynopsis>
<name>Define</name>
-<description>Define the existence of a variable</description>
-<syntax>Define <var>parameter-name</var></syntax>
+<description>Define or undefine the existence of a variable</description>
+<syntax>Define [!]<var>parameter-name</var></syntax>
<contextlist><context>server config</context></contextlist>
<usage>
@@ -606,6 +606,8 @@ which no other media type configuration could be found.
<p>This directive can be used to toggle the use of <directive module="core"
type="section">IfDefine</directive> sections without needing to alter
<code>-D</code> arguments in any startup scripts.</p>
+ <p>If the parameter-name is prefixed with a <code>!</code>, the definition
+ of the argument is removed.</p>
</usage>
</directivesynopsis>