# # apcupsd configuration file for Apache Web server # # files are off the documentroot of Web server Alias /apcupsd /var/www/apcupsd AddHandler cgi-script cgi pl Options ExecCGI # # Allow only local access at default # Change the ".example.com" to match your domain or modify # access rights to your needs to enable remote access also. # DirectoryIndex upsstats.cgi AllowOverride None Options ExecCGI Indexes # Apache 2.4 Require local # Apache 2.2 Order deny,allow Deny from all Allow from 127.0.0.1 Allow from ::1