[Pkg-nagios-changes] [pkg-icinga2] 01/01: Enhance apache 2.4 support
Alexander Wirt
formorer at debian.org
Thu Nov 20 13:37:28 UTC 2014
This is an automated email from the git hooks/post-receive script.
formorer pushed a commit to branch master
in repository pkg-icinga2.
commit e104007ac54e0601b8ca2ef62b747534c7806268
Author: Alexander Wirt <formorer at debian.org>
Date: Thu Nov 20 14:26:56 2014 +0100
Enhance apache 2.4 support
---
debian/classicui/apache2.conf | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/debian/classicui/apache2.conf b/debian/classicui/apache2.conf
index cbc7661..f9ab3fe 100644
--- a/debian/classicui/apache2.conf
+++ b/debian/classicui/apache2.conf
@@ -18,8 +18,15 @@ Alias /icinga2-classicui /usr/share/icinga2/classicui
DirectoryIndex index.html
AllowOverride AuthConfig
- Order Allow,Deny
- Allow From All
+
+ <IfVersion < 2.3>
+ Order Allow,Deny
+ Allow From All
+ </IfVersion>
+
+ <IfVersion >= 2.3>
+ Require all denied
+ </IfVersion>
AuthName "Icinga Access"
AuthType Basic
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-icinga2.git
More information about the Pkg-nagios-changes
mailing list