LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

a2disconf

disable an Apache2 configuration file

TLDR

Disable a configuration file
$ sudo a2disconf [configuration_file]
copy
Don't show informative messages
$ sudo a2disconf -q [configuration_file]
copy
Disable a configuration and purge all traces from the internal state database
$ sudo a2disconf -p [configuration_file]
copy

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

INSTALL

sudo apt install apache2
copy
sudo zypper install apache2
copy
brew install apache2
copy

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.

SEE ALSO

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid