a2query
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
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.