This example enables mod_status
for all virtual hosts via the global Apache Expert Settings since this is the most common approach. However, Apache status pages may be enabled non-globally for specific virtual hosts in the Expert Settings on the virtual host detail page.
The mod_status module generates status pages that contain a full set of Apache server information – no matter whether the module has been enabled globally or for individual virtual hosts.
Add the following line to load the status module:
In our example, the status information should be available for all publicly accessible virtual hosts. For security reasons, this requires loading the authorization module by adding the following line to the global Apache Expert Settings:
To enable the serving of the status information, a Location
block with the SetHandler server-status
directive must be configured via Expert Settings. The Require ip
directive is used to restrict access to a certain range of IP addresses.
Example:
It is not necessary to configure a mapping for Location
, because it will be served directly by the Apache HTTP server. For further information refer to the Apache server module documentation.