a2disconf

Disable an Apache configuration file on Debian-based OSes. More information: <https://manpages.debian.org/latest/apache2/a2disconf.8.en.html>.

Install

All systems
curl cmd.cat/a2disconf.sh
Debian Debian
apt-get install apache2
Ubuntu
apt-get install apache2
Alpine
apk add apache2
image/svg+xml Kali Linux
apt-get install apache2
Windows (WSL2)
sudo apt-get update sudo apt-get install apache2
Raspbian
apt-get install apache2
Docker
docker run cmd.cat/a2disconf a2disconf powered by Commando

Disable an Apache configuration file on Debian-based OSes. More information: <https://manpages.debian.org/latest/apache2/a2disconf.8.en.html>.

  • Disable a configuration file:
    sudo a2disconf configuration_file
  • Don't show informative messages:
    sudo a2disconf --quiet configuration_file

© tl;dr; authors and contributors