File cacti-httpd.conf.vhost of Package cacti
# 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 vhost
# If you want to use cacti in one vhost 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
<IfDefine CACTIVHOST>
Alias /cacti/ /srv/www/cacti/
<Directory /srv/www/cacti/>
Options None
order deny,allow
deny from all
allow from localhost
</Directory>
# For SSL-servers
# Alias /cacti/ /srv/www/nagat/
# <Directory /srv/www/cacti/>
# Options None
# SSLRequireSSL
# order deny,allow
# deny from all
# AuthType Basic
# AuthUserFile /site/cfg/passwd
# AuthGroupFile /site/cfg/group
# AuthName "cacti"
# require group cacti
# Satisfy Any
# </Directory>
</IfDefine>