2019-11-28 21:20:51 +00:00
|
|
|
# a2query
|
|
|
|
|
|
|
|
> Retrieve runtime configuration from Apache on Debian-based OSes.
|
2022-01-08 13:39:40 +00:00
|
|
|
> More information: <https://manpages.debian.org/latest/apache2/a2query.html>.
|
2019-11-28 21:20:51 +00:00
|
|
|
|
|
|
|
- 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`
|
|
|
|
|
2024-01-30 04:55:24 +00:00
|
|
|
- Display Apache version:
|
2019-11-28 21:20:51 +00:00
|
|
|
|
|
|
|
`sudo a2query -v`
|