Difference between revisions of "Apache httpd/variables/Define"
< Apache httpd | variables
Jump to navigation
Jump to search
(Created page with "==About== '''Defines''' are configuration variables which can be defined either in the command line or within configuration files. Within a config file, the {{xmltag|Define}}...") |
(No difference)
|
Latest revision as of 16:20, 1 April 2022
About
Defines are configuration variables which can be defined either in the command line or within configuration files.
Within a config file, the <Define> directive is used to define a variable (optionally giving it a value, and the <IfDefine> directive allows sections of config code to be selectively executed.
The <IfDefine> directive supports an optional "!" prefix on its sole parameter, which means "does not exist" rather than "is not true".