Name
<IfModule>
Synopsis
<IfModule [!]module-file-name
>
...
</IfModule>
The <IfModule>
directive enables a block, provided
that the named module was compiled or dynamically loaded into Apache.
If the !
prefix is used, the block is enabled if
the named module was not compiled or loaded.
<IfModule>
blocks can be nested.
The
module-file-name
should be the name of the
module’s source file, e.g. mod_log_config.c.
Get Apache: The Definitive Guide, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.