FAQs - Apache Monitor
How do I enable mod_status on my Apache Server?
Basic Apache Server installations do usually come with mod_status by default. Make sure your module is loaded first.LoadModule status_module libexec/apache2/mod_status.so
<Location /server-status>
SetHandler server-status
Order allow,deny
Allow from all
</Location>
Order allow,deny
Allow from all
How can I protect my status information from public access?
Even tough mod_status is not really revealing sensitive information you might want to restrict access. As usual there are several ways to restrict access to your Apache status information. The easiest way to do this is by granting access just to your IP address. Add following directive to your mod_status location block:
Allow from xxx.xxx.xxx.xxx
Where xxx.xxx.xxx.xxx is your local IP address. Please note if your Web Server is not hosted in your LAN and your are using a private IP address like 10.x.x.x or 192.168.x.x you will need to find out your public IP address. Check www.dnsstuff.com to find your public address.Your location block should look like this:
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from xxx.xxx.xxx.xxx
</Location>
Order deny,allow
Deny from all
Allow from xxx.xxx.xxx.xxx
Do I need to enable ExtendedStatus to work with Apache Monitor?
Yes. Without extended status set to on we can't show all available information. Check official Apache status documentation.
