Alias /monitorix /usr/share/monitorix ScriptAlias /monitorix-cgi /usr/share/monitorix/cgi-bin DirectoryIndex monitorix.cgi Options ExecCGI order deny,allow deny from all allow from all // Alllow connect from the outside # Apache rules to restrict access to Monitorix: # Don’t forget to add in .htpasswd with the ‘htpasswd’ command. # # Uncomment these lines Options Indexes Includes FollowSymLinks Order Deny,Allow Deny from All allow from all // Alllow connect from the outside AllowOverride None AuthUserFile /etc/httpd/conf/.htpasswd AuthGroupFile /dev/null AuthName “Monitorix: Restricted access, sorry.” AuthType Basic Require user captain Satisfy Any