[Pkg-nagios-changes] [pkg-nagios3] 01/04: Make apache.conf compatible with apache 2.4.10

Alexander Wirt formorer at debian.org
Sun Oct 5 10:13:36 UTC 2014


This is an automated email from the git hooks/post-receive script.

formorer pushed a commit to branch master
in repository pkg-nagios3.

commit a72437ba51d6febefb1e4c637b829884404f7f1f
Author: Alexander Wirt <formorer at debian.org>
Date:   Sun Oct 5 09:19:20 2014 +0200

    Make apache.conf compatible with apache 2.4.10
    
    Closes: #762096
---
 debian/apache2.conf | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/debian/apache2.conf b/debian/apache2.conf
index 0affebd..f0f8b2f 100644
--- a/debian/apache2.conf
+++ b/debian/apache2.conf
@@ -33,8 +33,16 @@ Alias /nagios3 /usr/share/nagios3/htdocs
 	DirectoryIndex index.php 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 "Nagios Access"
 	AuthType Basic

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nagios3.git



More information about the Pkg-nagios-changes mailing list