]> git.pld-linux.org Git - packages/apache.git/commitdiff
revert b3d7d6d, really fix regexp
authorElan Ruusamäe <glen@delfi.ee>
Mon, 16 Nov 2015 14:16:33 +0000 (16:16 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 16 Nov 2015 14:16:33 +0000 (16:16 +0200)
apache-common.conf

index e66ca78b9c6060940e08d0667aa52df03988a1a2..085c5e7ef242e475e2b4aa970cbc154e200d5737 100644 (file)
@@ -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>
This page took 0.091397 seconds and 4 git commands to generate.