A2QUERY.IN(1) | User Contributed Perl Documentation | A2QUERY.IN(1) |
a2query - retrieve runtime configuration from a local Apache 2 HTTP server
a2query [-m [MODULE]] [-s [SITE]] [-c [CONF]] [-a] [-v] [-M] [-d] [-h]
a2query is a program designed to retrieve configuration values from a locally available Apache 2 HTTP web server. It was designed to be as robust as possible by returning feasible values even if the Apache 2 syntax validator fails.
This program is primarily meant to be used from maintainer scripts.
a2query returns with a zero (0) exit status if the requested operation was effectuated successfully and with a non-zero status otherwise. In case of an error it leaves with error code 32 if a requested module, site or configuration was not found and 33 if a module, site or configuration was disabled by a maintainer script. However, exit status 1 is returned if the module was not found at all
apache2ctl(8), apache2(8), perl(1)
This manual and a2query was written by Arno Toell <debian@toell.net>.
2024-10-02 | perl v5.38.2 |