[blogs-web/oscp] Convert to httpd 2.4



commit 169cbfa35185643c5ba3b2c3f0af0a21ed5f70f7
Author: Andrea Veri <averi redhat com>
Date:   Sat Nov 10 22:34:35 2018 +0100

    Convert to httpd 2.4

 blogs.gnome.org.conf | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)
---
diff --git a/blogs.gnome.org.conf b/blogs.gnome.org.conf
index 6f27099..9d2829f 100644
--- a/blogs.gnome.org.conf
+++ b/blogs.gnome.org.conf
@@ -29,22 +29,19 @@
     php_flag display_errors 0
 
     <Files *.php>
-        allow from all
+        Require all granted 
     </Files>
 
     <Files wp-config.php>
-         Order allow,deny
-         Deny from all
+        Require all denied
     </Files>
 
     <Files xmlrpc.php>
-         Order Allow,Deny
-         SetEnvIf User-Agent "Jetpack by WordPress.com" GoodUserAgent
-         Allow from env=GoodUserAgent
+        SetEnvIf User-Agent "Jetpack by WordPress.com" GoodUserAgent
+        Require env GoodUserAgent
     </Files>
 
     <FilesMatch "load\-(scripts|styles)\.php">
-         Order allow,deny
-         Deny from all
+        Require all denied
     </FilesMatch>
 </Directory>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]