a2dismod
disable an Apache2 module
TLDR
SYNOPSIS
a2dismod [-q|--quiet] [-f|--force] [-m|--maintmode] [-p|--purge] [module]
DESCRIPTION
a2dismod is a Debian-specific utility that disables Apache2 modules by removing symbolic links from /etc/apache2/mods-enabled. It manages both .load files and associated .conf files for each module.The tool works alongside a2enmod, which enables modules. After disabling a module, Apache must be restarted or reloaded for changes to take effect.
PARAMETERS
-q, --quiet
Don't show informative messages-f, --force
Do not complain if the specified module does not exist or is already disabled-m, --maintmode
Enables maintainer mode; the program invocation is effectuated automatically by a maintainer script-p, --purge
When disabling a module, purge all traces from the internal state database
CAVEATS
This utility is Debian-specific and not available on other Linux distributions (also works on Ubuntu and derivatives). After disabling a module, you must restart or reload Apache for changes to take effect.
HISTORY
Created as part of the Apache2 package for Debian GNU/Linux. The manual page was authored by Daniel Stone and dates to October 2006.
