2012-10-22 15:26:37 +01:00
|
|
|
#
|
|
|
|
# Monitorix is a lightweight system monitoring tool
|
|
|
|
#
|
|
|
|
|
|
|
|
Alias /monitorix /usr/share/monitorix
|
2013-01-31 13:44:06 +00:00
|
|
|
ScriptAlias /monitorix-cgi /usr/share/monitorix/cgi
|
2012-10-22 15:26:37 +01:00
|
|
|
|
2013-01-31 13:44:06 +00:00
|
|
|
<Directory /usr/share/monitorix/cgi/>
|
2012-10-22 15:26:37 +01:00
|
|
|
DirectoryIndex monitorix.cgi
|
|
|
|
Options ExecCGI
|
|
|
|
Order Deny,Allow
|
|
|
|
Deny from all
|
|
|
|
Allow from 127.0.0.1
|
|
|
|
</Directory>
|
|
|
|
|
|
|
|
# Apache rules to restrict access to Monitorix:
|
|
|
|
# Don't forget to add <username> in .htpasswd with the 'htpasswd' command.
|
|
|
|
#
|
|
|
|
#<Directory "/usr/share/monitorix">
|
|
|
|
# Options Indexes Includes FollowSymLinks
|
|
|
|
# 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 <username>
|
|
|
|
# Satisfy Any
|
|
|
|
#</Directory>
|
|
|
|
|