From 23cea2d8633154cd20e3b2c7c1cbb7be718cc83e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 15 Mar 2022 11:52:25 +0100 Subject: [PATCH] simplify httpd config (cherry picked from commit dcf7d42aae35d1748be46ba8cd28c76f0ac1afe8) --- wordpress-httpd-conf | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/wordpress-httpd-conf b/wordpress-httpd-conf index 3692823..dbefe97 100644 --- a/wordpress-httpd-conf +++ b/wordpress-httpd-conf @@ -5,31 +5,19 @@ Alias /wordpress /usr/share/wordpress AllowOverride Options - - # Apache 2.4 Require local - - - # Apache 2.2 - Order Deny,Allow - Deny from All - Allow from 127.0.0.1 - Allow from ::1 - # Deny access to any php file in the uploads directory - Order Deny,Allow - Deny from all + Require all denied # Deny access to any php file in the akismet directory - Order Deny,Allow - Deny from all + Require all denied