# Example configuration for a cacti repository # # ::As default server:: # Put the string CACTI in /etc/sysconfig/apache2 APACHE_SERVER_FLAGS # to enable the URL http://localhost/cacti # # ::As Virtual Host:: # If you want to use cacti in one Virtual Host, add # Include /etc/apache2/vhosts.d/conf.d/cacti.conf # to the vhost in the vhost.conf file # Put the string CACTIVHOST in /etc/sysconfig/apache2 # APACHE_SERVER_FLAGS to enable the URL http://vhost/cacti # Alias /cacti /srv/www/cacti Options None # Access Control # Default to only allow connections from localhost Order deny,allow Deny from all Allow from localhost = 2.4> Require all denied Require local Order deny,allow Deny from all Allow from localhost Order deny,allow Deny from all Allow from localhost # Authentication Settings # Uncomment and apply to add Basic Authentication # AuthType Basic # AuthName "cacti" # AuthBasicProvider file # AuthUserFile /site/cfg/passwd # AuthGroupFile /site/cfg/group # Require group cacti # Satisfy any # SSL Configuration # Uncomment to always require SSL when SSL is enabled # SSLRequireSSL AllowOverride none Order deny,allow Deny from all = 2.4> Require all denied Order deny,allow Deny from all Order deny,allow Deny from all AllowOverride none Order deny,allow Deny from all = 2.4> Require all denied Order deny,allow Deny from all Order deny,allow Deny from all