wiki:TewiDirectiveBeginIf

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

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.