<IfModule>
<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.