a2query

Retrieve runtime configuration from Apache on Debian-based OSes. More information: <https://manpages.debian.org/latest/apache2/a2query.html>.

Install

All systems
curl cmd.cat/a2query.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/a2query a2query powered by Commando

Retrieve runtime configuration from Apache on Debian-based OSes. More information: <https://manpages.debian.org/latest/apache2/a2query.html>.

  • List enabled Apache modules:
    sudo a2query -m
  • Check if a specific module is installed:
    sudo a2query -m module_name
  • List enabled virtual hosts:
    sudo a2query -s
  • Display the currently enabled Multi Processing Module:
    sudo a2query -M
  • Display the Apache version:
    sudo a2query -v

© tl;dr; authors and contributors