Blame | Last modification | View Log | RSS feed
## apcupsd configuration file for Apache Web server## files are off the documentroot of Web serverAlias /apcupsd /var/www/apcupsd<Directory /var/www/apcupsd>AddHandler cgi-script cgi plOptions ExecCGI</Directory>## 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.#<Directory "/var/www/apcupsd">DirectoryIndex upsstats.cgiAllowOverride NoneOptions ExecCGI Indexes<IfModule mod_authz_core.c># Apache 2.4Require localRequire ip 10.192.25</IfModule><IfModule !mod_authz_core.c># Apache 2.2Order deny,allowDeny from allAllow from 127.0.0.1Allow from ::1Allow from 10.192.25.0/24</IfModule></Directory>