Modify apcupsd-httpd.patch to support apache2 >= 2.4. Apache2 refused to start after installation of the apcupsd package due to syntax errors (at least for leap 42.2). I opted to comment out the relevant entries as this patch was ineffective until now (wrong directory) and could lead to bad surprises otherwise. Therefore, now the resulting apache2 config file acts as example only. OBS-URL: https://build.opensuse.org/request/show/444892 OBS-URL: https://build.opensuse.org/package/show/hardware/apcupsd?expand=0&rev=73
25 lines
611 B
Plaintext
25 lines
611 B
Plaintext
#
|
|
# Example apcupsd configuration file for Apache Web server
|
|
#
|
|
|
|
#
|
|
# 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.
|
|
#
|
|
|
|
#<LocationMatch "/cgi-bin/(multimon.cgi|upsfstats.cgi|upsimage.cgi|upsstats.cgi)$">
|
|
# <IfModule !mod_access_compat.c>
|
|
# Require local
|
|
# # Require host .example.com
|
|
# </IfModule>
|
|
# <IfModule mod_access_compat.c>
|
|
# Order deny,allow
|
|
# Deny from all
|
|
# Allow from 127.0.0.1
|
|
# Allow from ::1
|
|
# # Allow from .example.com
|
|
# </IfModule>
|
|
#</LocationMatch>
|
|
|