diff options
author | Stefan Fritsch <sf@apache.org> | 2010-01-30 20:22:41 +0100 |
---|---|---|
committer | Stefan Fritsch <sf@apache.org> | 2010-01-30 20:22:41 +0100 |
commit | 6856b147a78dafb92de9f19f36c6585e50685e4b (patch) | |
tree | 1a1a7f770038233d1d06a9eff34d74c9d84aafcf /docs/manual/mod/core.xml | |
parent | Allow the Define directive to undefine a variable by prefixing the (diff) | |
download | apache2-6856b147a78dafb92de9f19f36c6585e50685e4b.tar.xz apache2-6856b147a78dafb92de9f19f36c6585e50685e4b.zip |
Replace the Define !FOO syntax by a new UnDefine directive.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@904853 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/core.xml')
-rw-r--r-- | docs/manual/mod/core.xml | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index 79e47416c6..19f40a190a 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 or undefine the existence of a variable</description> -<syntax>Define [!]<var>parameter-name</var></syntax> +<description>Define the existence of a variable</description> +<syntax>Define <var>parameter-name</var></syntax> <contextlist><context>server config</context></contextlist> <usage> @@ -606,8 +606,6 @@ 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> @@ -3401,6 +3399,21 @@ requests</description> </directivesynopsis> <directivesynopsis> +<name>UnDefine</name> +<description>Undefine the existence of a variable</description> +<syntax>UnDefine <var>parameter-name</var></syntax> +<contextlist><context>server config</context></contextlist> + +<usage> + <p>Undoes the effect of a <directive module="core">Define</directive> or + of passing a <code>-D</code> argument to <program>httpd</program>.</p> + <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> +</usage> +</directivesynopsis> + +<directivesynopsis> <name>UseCanonicalName</name> <description>Configures how the server determines its own name and port</description> |