Nov 10, 2018

How to check Apache modules on

Fedora / CentOS / RHEL / Oracle Linux, for static modules:

$ httpd -l

For Ubuntu:

$ apache2ctl -M

For dynamic modules:

The modules locate at /etc/httpd/modules
And the configuration files at /etc/httpd/conf.modules.d/
For example, rewrite module:

$ grep rewrite /etc/httpd/conf.modules.d/*/etc/httpd/conf.modules.d/00-base.conf:LoadModule rewrite_module modules/mod_rewrite.so