# $NetBSD: httpd-cacti.conf,v 1.3 2025/02/08 03:49:21 taca Exp $

Alias /cacti "/usr/pkg/share/cacti"

<Directory "/usr/pkg/share/cacti">
  Options None
  AllowOverride Limit
  AddHandler application/x-httpd-php .php
  DirectoryIndex index.php

  # Adjust access
  Require ip 127.0.0.1
  #Require all granted

</Directory>

# some people prefer a simple URL like http://cacti.example.com
#<VirtualHost 1.2.3.4>
#  DocumentRoot /usr/pkg/share/cacti
#  ServerName cacti.example.com
#</VirtualHost>
