From f1d26e139003af87c584879eecb12ed765500838 Mon Sep 17 00:00:00 2001 From: mh Date: Tue, 24 Feb 2009 01:20:58 +0000 Subject: deny access to git repository folders --- files/conf.d/git.conf | 5 +++++ manifests/init.pp | 1 + 2 files changed, 6 insertions(+) create mode 100644 files/conf.d/git.conf 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 + + Order allow,deny + Deny From All + diff --git a/manifests/init.pp b/manifests/init.pp index a2cad78..d3519d0 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -76,6 +76,7 @@ class apache::base { } apache::config::file{ 'defaults.inc': } + apache::config::file{ 'git.conf': } apache::vhost::file { '0-default': } } -- cgit v1.2.3