List loaded Apache modules
check if mod_rewrite is enabled | which apache modules are loaded | check mod_headers enabled | apache list modules command | apache2ctl | modules | configurationapache2ctl -MLists all loaded modules such as rewrite_module (shared) or core_module (static). Useful to quickly check whether mod_rewrite, mod_headers or mod_expires are available before an .htaccess with matching directives causes a 500 error.
Note: Use apache2ctl -M | grep rewrite to look for a specific module.
Also searched as
- check if mod_rewrite is enabled
- which apache modules are loaded
- check mod_headers enabled
- apache list modules command