wiki:TewiDirectiveBeginIf

Version 6 (modified by Nishi, on Sep 26, 2024 at 4:21:05 AM) ( diff )

--

BeginIf / EndIf

Encloses directives that will be processed only if a test is true at startup. This is equivalent to httpd's IfDefined

BeginIf Defined test
    ForceLog "defined"
EndIf

BeginIfNot / EndIf

Same as above for false values. This is equivalent to httpd's IfDefined !parameter-name

BeginIfNot Defined test
   ForceLog "not defined"
EndIf
Note: See TracWiki for help on using the wiki.