# # Monitorix is a lightweight system monitoring tool # Alias /monitorix /var/lib/monitorix/www ScriptAlias /monitorix-cgi /var/lib/monitorix/www/cgi DirectoryIndex monitorix.cgi Options ExecCGI # Apache 2.4 Require all denied Require host 127.0.0.1 # Apache 2.2 Order deny,allow Deny from all Allow from 127.0.0.1 # Apache rules to restrict access to Monitorix: # Don't forget to add in .htpasswd with the 'htpasswd' command. # # # Options Indexes Includes FollowSymLinks # # # Apache 2.4 # Require all denied # Require host 127.0.0.1 # # # # Apache 2.2 # Order deny,allow # Deny from all # Allow from 127.0.0.1 # # AllowOverride None # AuthUserFile /etc/httpd/conf/.htpasswd # AuthGroupFile /dev/null # AuthName "Monitorix: Restricted access, sorry." # AuthType Basic # Require user # Satisfy Any #