1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/a2query.md

25 lines
431 B
Markdown
Raw Normal View History

# a2query
> Retrieve runtime configuration from Apache on Debian-based OSes.
> More information: <https://manned.org/a2query>.
- 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 Apache version:
`sudo a2query -v`