[packages/apache] also exclude .user.ini

glen glen at pld-linux.org
Wed Nov 11 14:31:36 CET 2015


commit c5a3ab3540e4dcb847914f9eb2778e63dda7e8ec
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Nov 11 15:31:20 2015 +0200

    also exclude .user.ini

 apache-common.conf | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/apache-common.conf b/apache-common.conf
index 6ffd634..b858d20 100644
--- a/apache-common.conf
+++ b/apache-common.conf
@@ -27,7 +27,8 @@ DocumentRoot "/home/services/httpd/html"
 # Prevent access to:
 # - .htaccess and .htpasswd files
 # - backup files from being viewed
-<FilesMatch  "^(\.ht.*|.*~|.*,v)$">
+# - PHP's .user.ini
+<FilesMatch  "^(\.ht.*|\.user\.ini|.*~|.*,v)$">
 	<IfModule mod_authz_host.c>
 		Require all denied
 	</IfModule>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/apache.git/commitdiff/c5a3ab3540e4dcb847914f9eb2778e63dda7e8ec



More information about the pld-cvs-commit mailing list