a2disconf
disable an Apache2 configuration file
TLDR
Disable a configuration file
SYNOPSIS
a2disconf [-q|--quiet] [-m|--maintmode] [-p|--purge] [configuration]
DESCRIPTION
a2disconf is a Debian-specific utility that disables Apache2 configuration files by removing symbolic links from /etc/apache2/conf-enabled. It works alongside a2enconf, which enables configurations.
The tool silently succeeds if the specified configuration is already disabled, making it safe for use in scripts. After disabling a configuration, Apache must be restarted or reloaded for changes to take effect.
PARAMETERS
-q, --quiet
Don't show informative messages-m, --maintmode
Enables maintainer mode; the program invocation is effectuated automatically by a maintainer script-p, --purge
When disabling a configuration, purge all traces from the internal state database
CAVEATS
This utility is Debian-specific and not available on other Linux distributions. Configuration changes require an Apache restart or reload to take effect.
HISTORY
Created as part of the Apache2 package for Debian GNU/Linux. The manual page was authored by Arno Toell and dates to February 2012.
