Adjust httpd ACL conditionals to test the presence of mod_authz_core
(as discussed on fedora-devel)
This commit is contained in:
parent
99b73ddc76
commit
12e71f16d6
@ -10,14 +10,16 @@
|
||||
Alias /cacti /usr/share/cacti
|
||||
|
||||
<Directory /usr/share/cacti/>
|
||||
<IfVersion > 2.2>
|
||||
<IfModule mod_authz_core.c>
|
||||
# httpd 2.4
|
||||
Require host localhost
|
||||
</IfVersion>
|
||||
<IfVersion <= 2.2>
|
||||
</IfModule>
|
||||
<IfModule !mod_authz_core.c>
|
||||
# httpd 2.2
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
Allow from localhost
|
||||
</IfVersion>
|
||||
</IfModule>
|
||||
</Directory>
|
||||
|
||||
<Directory /usr/share/cacti/install>
|
||||
@ -30,24 +32,24 @@ Alias /cacti /usr/share/cacti
|
||||
</Directory>
|
||||
|
||||
|
||||
# These sections marked "Require all denied" (or "deny from all")
|
||||
# These sections marked "Require all denied" (or "Deny from all")
|
||||
# should not be modified.
|
||||
# These are in place in order to harden Cacti.
|
||||
<Directory /usr/share/cacti/log>
|
||||
<IfVersion > 2.2>
|
||||
<IfModule mod_authz_core.c>
|
||||
Require all denied
|
||||
</IfVersion>
|
||||
<IfVersion <= 2.2>
|
||||
</IfModule>
|
||||
<IfModule !mod_authz_core.c>
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
</IfVersion>
|
||||
</IfModule>
|
||||
</Directory>
|
||||
<Directory /usr/share/cacti/rra>
|
||||
<IfVersion > 2.2>
|
||||
<IfModule mod_authz_core.c>
|
||||
Require all denied
|
||||
</IfVersion>
|
||||
<IfVersion <= 2.2>
|
||||
</IfModule>
|
||||
<IfModule !mod_authz_core.c>
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
</IfVersion>
|
||||
</IfModule>
|
||||
</Directory>
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: cacti
|
||||
Version: 0.8.8
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: An rrd based graphing tool
|
||||
|
||||
Group: Applications/System
|
||||
@ -114,6 +114,10 @@ fi
|
||||
%attr(0644,root,root) %{_localstatedir}/lib/%{name}/lib
|
||||
|
||||
%changelog
|
||||
* Fri Apr 06 2012 Ken Dreyer <ktdreyer@ktdreyer.com> - 0.8.8-2
|
||||
- Adjust httpd ACL conditionals to test the presence of mod_authz_core
|
||||
(as discussed on fedora-devel)
|
||||
|
||||
* Wed Apr 04 2012 Ken Dreyer <ktdreyer@ktdreyer.com> - 0.8.8-1
|
||||
- New upstream release (BZ #809753).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user