summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-02-24 01:20:58 +0000
committermh <mh@immerda.ch>2009-02-24 01:20:58 +0000
commitf1d26e139003af87c584879eecb12ed765500838 (patch)
treeeeef7063a736ec0d356048a52944038fbb8528ef /files
parent3329e5d2c2bd4ab270f4d8579251c0aa6b7277f8 (diff)
deny access to git repository folders
Diffstat (limited to 'files')
-rw-r--r--files/conf.d/git.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/files/conf.d/git.conf b/files/conf.d/git.conf
new file mode 100644
index 0000000..c03ee2b
--- /dev/null
+++ b/files/conf.d/git.conf
@@ -0,0 +1,5 @@
+# deny access to git repository folders
+<DirectoryMatch .*\.git/.*>
+ Order allow,deny
+ Deny From All
+</DirectoryMatch>