wiki:TewiDirectiveBeginIf

Version 4 (modified by Nishi, on Sep 26, 2024 at 4:20:31 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 / EndIfNot

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.