diff --git a/apcupsd-httpd.conf b/apcupsd-httpd.conf index 973dec9..26a5191 100644 --- a/apcupsd-httpd.conf +++ b/apcupsd-httpd.conf @@ -18,9 +18,15 @@ Alias /apcupsd /var/www/apcupsd 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 - # Allow from .example.com + diff --git a/apcupsd.spec b/apcupsd.spec index 8e2fcf3..558ff12 100644 --- a/apcupsd.spec +++ b/apcupsd.spec @@ -1,6 +1,6 @@ Name: apcupsd Version: 3.14.10 -Release: 6%{?dist} +Release: 7%{?dist} Summary: APC UPS Power Control Daemon for Linux Group: System Environment/Daemons @@ -184,6 +184,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Oct 30 2012 Michal Hlavinka - 3.14.10-7 +- fix configuration for httpd 2.4 (#871361) + * Fri Aug 24 2012 Michal Hlavinka - 3.14.10-6 - scriptlets replaced with new systemd macros (#851227)