[blogs-web/oscp] Wider Require all granted (matching not only php files)



commit 9b27a2dbafc561e51075f3b61506abba3868b17d
Author: Andrea Veri <averi redhat com>
Date:   Sat Nov 10 23:52:18 2018 +0100

    Wider Require all granted (matching not only php files)

 Dockerfile           | 2 --
 blogs.gnome.org.conf | 6 ++----
 2 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index 083ece4..bf57c0d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -11,8 +11,6 @@ RUN chown 1001:1001 -R /srv/http/blogs.gnome.org/html
 COPY blogs.gnome.org.conf /etc/httpd/conf.d
 RUN rm /etc/httpd/conf.d/welcome.conf
 
-RUN sed -i '/generate_container_user/d' /usr/bin/run-httpd
-
 EXPOSE 8443
 
 USER 1001
diff --git a/blogs.gnome.org.conf b/blogs.gnome.org.conf
index 9d2829f..7c5a99b 100644
--- a/blogs.gnome.org.conf
+++ b/blogs.gnome.org.conf
@@ -27,10 +27,8 @@
     AllowOverride FileInfo Options Indexes
     php_flag register_globals 0
     php_flag display_errors 0
-
-    <Files *.php>
-        Require all granted 
-    </Files>
+    
+    Require all granted
 
     <Files wp-config.php>
         Require all denied


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