From 00885f10d0f2d0f385c572320558939bfd8ad68d Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 1 Dec 2014 10:00:05 +0100 Subject: [PATCH] Add support for Apache 2.4 in the Classic UI config file fixes #7739 --- etc/icinga/icinga-classic-apache.conf.cmake | 28 ++++++++++++++------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/etc/icinga/icinga-classic-apache.conf.cmake b/etc/icinga/icinga-classic-apache.conf.cmake index 6084f545a..fce673f10 100644 --- a/etc/icinga/icinga-classic-apache.conf.cmake +++ b/etc/icinga/icinga-classic-apache.conf.cmake @@ -12,10 +12,15 @@ ScriptAlias /icinga/cgi-bin "@CMAKE_INSTALL_FULL_LIBDIR@/icinga/cgi" Options ExecCGI AllowOverride None Order allow,deny - Allow from all -# Order deny,allow -# Deny from all -# Allow from 127.0.0.1 + + Allow from all +# Order deny,allow +# Deny from all +# Allow from 127.0.0.1 + + = 2.3> + Require all granted + AuthName "Icinga Access" AuthType Basic AuthUserFile @CMAKE_INSTALL_FULL_SYSCONFDIR@/icinga/passwd @@ -28,11 +33,16 @@ Alias /icinga "@CMAKE_INSTALL_FULL_DATADIR@/icinga/" # SSLRequireSSL Options None AllowOverride All - Order allow,deny - Allow from all -# Order deny,allow -# Deny from all -# Allow from 127.0.0.1 + + Order allow,deny + Allow from all +# Order deny,allow +# Deny from all +# Allow from 127.0.0.1 + + = 2.3> + Require all granted + AuthName "Icinga Access" AuthType Basic AuthUserFile @CMAKE_INSTALL_FULL_SYSCONFDIR@/icinga/passwd -- 2.40.0