a2query version (return code: 0)
Usage: /usr/sbin/a2query -q -m [MODULE] -s [SITE] -c [CONF] -a -v -M -d -h
-q suppress any output. Useful for invocation from scripts
-m [MODULE] checks whether the module MODULE is enabled, lists all enabled
modules if no argument was given
-s [SITE] checks whether the site SITE is enabled, lists all sites if no
argument was given
-c [CONF] checks whether the configuration CONF is enabled, lists all
configurations if no argument was given
-a returns the current Apache 2 module magic version
-v returns the current Apache 2 version
-M returns the enabled Apache 2 MPM
-d returns the Apache 2 module directory
-h display this help
a2query -h (return code: 0)
Usage: /usr/sbin/a2query -q -m [MODULE] -s [SITE] -c [CONF] -a -v -M -d -h
-q suppress any output. Useful for invocation from scripts
-m [MODULE] checks whether the module MODULE is enabled, lists all enabled
modules if no argument was given
-s [SITE] checks whether the site SITE is enabled, lists all sites if no
argument was given
-c [CONF] checks whether the configuration CONF is enabled, lists all
configurations if no argument was given
-a returns the current Apache 2 module magic version
-v returns the current Apache 2 version
-M returns the enabled Apache 2 MPM
-d returns the Apache 2 module directory
-h display this help