a2query

Retrieve runtime configuration from Apache on Debian-based OSes.

TLDR

List enabled Apache modules

>_ sudo a2query -m
copy

Check if a specific module is installed

>_ sudo a2query -m [module_name]
copy

List enabled virtual hosts

>_ sudo a2query -s
copy

Display the currently enabled Multi Processing Module

>_ sudo a2query -M
copy

Display the Apache version

>_ sudo a2query -v
copy

Copied to clipboard
free 100$ digital ocean credit