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
BeginIf True ForceLog "always parsed" EndIf
BeginIf False ForceLog "this will never be parsed" 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
Notes on defined names
HAS_CHROOT
gets defined if Tewi HTTPd was built with chroot(2)
support.
HAS_SSL
gets defined if Tewi HTTPd was built with TLS/SSL support.
Last modified
on Sep 27, 2024 at 6:22:46 AM
Last modified on Sep 27, 2024, 6:22:46 AM
Note:
See TracWiki
for help on using the wiki.