From: Vincent Bray Date: Sun, 2 Sep 2007 16:00:03 +0000 (+0000) Subject: Document the new Define directive added in r546651 X-Git-Tag: 2.3.0~1467 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8bf60067af6495aa51963b7e435073b161102111;p=apache Document the new Define directive added in r546651 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@572011 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index c623b7a864..19dbf3d265 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -565,6 +565,21 @@ server cannot determine a type in any other way + +Define +Define the existence of a variable +Define parameter-name +server config + + +

Equivalent to passing the -D argument to httpd.

+

This directive can be used to toggle the use of IfDefine sections without needing to alter + -D arguments in any startup scripts.

+
+
+ Directory Enclose a group of directives that apply only to the @@ -1305,9 +1320,10 @@ if a test is true at startup the test, and only processes the directives if parameter-name is not defined.

-

The parameter-name argument is a define as given on - the httpd command line via -Dparameter- - , at the time the server was started.

+

The parameter-name argument is a define as given on the + httpd command line via -Dparameter + at the time the server was started or by the Define directive.

IfDefine sections are nest-able, which can be used to implement simple