# load the php module if it is not already loaded LoadModule php@PKG_PHP_MAJOR_VERS@_module lib/httpd/mod_php@PKG_PHP_MAJOR_VERS@.so Alias /cacti "@CACTIDIR@" Options None AllowOverride Limit AddHandler application/x-httpd-php .php DirectoryIndex index.php # Adjust access Require ip 127.0.0.1 #Require all granted # some people prefer a simple URL like http://cacti.example.com # # DocumentRoot @CACTIDIR@ # ServerName cacti.example.com #