/etc/apache2/modules.d/

This wiki page is about a path or a file in the Linux file system. Be bold and improve it! Describe its purpose and its use, which program created it and uses it, which configuration settings it might be dependent on, and which Linux distributions typically have this file by default while others might not.

If you have any questions about the content on this page, don't hesitate to open a new ticket and we'll do our best to assist you.

Directory for Apache's enabled modules.

Not all module are automatically loaded. They must be enabled in /etc/conf.d/apache2. Read the documentation at the top and edit the APACHE2_OPTS accordingly.

For example APACHE2_OPTS="-D PHP" would define PHP and only then would the configuration block within /etc/apache2/modules.d/70_mod_php.conf be executed:

<IfDefine PHP>
...
</IfDefine>

http://linux.overshoot.tv/wiki/apache_modules