[packages/apache] Limit DS_Store access, too.

arekm arekm at pld-linux.org
Mon Mar 17 15:58:03 CET 2025


commit d9c74efaecb18d98025872c9ea13bb0c572e4ee8
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Mar 17 15:19:09 2025 +0100

    Limit DS_Store access, too.

 apache-common.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/apache-common.conf b/apache-common.conf
index 7ada572..fe7604a 100644
--- a/apache-common.conf
+++ b/apache-common.conf
@@ -44,7 +44,7 @@ DocumentRoot "/home/services/httpd/html"
 
 # Prevent access to:
 # - version control directories
-<DirectoryMatch "/(\.(svn|git|hg|bzr)|CVS)/?">
+<DirectoryMatch "/(\.(svn|git|hg|bzr)|CVS|DS_Store)/?">
 	<IfModule mod_authz_host.c>
 		Require all denied
 	</IfModule>
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list