[packages/apache] revert b3d7d6d, really fix regexp
glen
glen at pld-linux.org
Mon Nov 16 15:16:55 CET 2015
commit 92e9d65a926e758576d9996df701f43ebcfaf659
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Nov 16 16:16:33 2015 +0200
revert b3d7d6d, really fix regexp
apache-common.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/apache-common.conf b/apache-common.conf
index e66ca78..085c5e7 100644
--- a/apache-common.conf
+++ b/apache-common.conf
@@ -40,7 +40,7 @@ DocumentRoot "/home/services/httpd/html"
# Prevent access to:
# - version control directories
-<DirectoryMatch "/\.(svn|git|hg|bzr|CVS)/?">
+<DirectoryMatch "/(\.(svn|git|hg|bzr)|CVS)/?">
<IfModule mod_authz_host.c>
Require all denied
</IfModule>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/apache.git/commitdiff/92e9d65a926e758576d9996df701f43ebcfaf659
More information about the pld-cvs-commit
mailing list