From 7e96ce8d3eb21bab6f0f79841e46a8a6c409bdc0 Mon Sep 17 00:00:00 2001 From: Louis Haddrell Date: Tue, 1 Aug 2017 15:34:06 +0100 Subject: [PATCH] Replaced Apache 2.4 syntax in RedHat Apache 2.2 config (fixes #115) --- apache/files/RedHat/apache-2.2.config.jinja | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/apache/files/RedHat/apache-2.2.config.jinja b/apache/files/RedHat/apache-2.2.config.jinja index c8ab639..aa2af36 100644 --- a/apache/files/RedHat/apache-2.2.config.jinja +++ b/apache/files/RedHat/apache-2.2.config.jinja @@ -167,7 +167,8 @@ ServerAdmin root@localhost # AllowOverride none - Require all denied + Order deny,allow + Deny from all # @@ -190,7 +191,8 @@ DocumentRoot "/var/www/html" AllowOverride None # Allow open access: - Require all granted + Order allow,deny + Allow from all # Further relax access to the default document root: @@ -219,7 +221,8 @@ DocumentRoot "/var/www/html" # # Controls who can get stuff from this server. # - Require all granted + Order allow,deny + Allow from all # @@ -235,7 +238,8 @@ DocumentRoot "/var/www/html" # viewed by Web clients. # - Require all denied + Order deny,allow + Deny from all # @@ -324,7 +328,8 @@ LogLevel warn AllowOverride None Options None - Require all granted + Order allow,deny + Allow from all