]> git.openstreetmap.org Git - chef.git/commitdiff
Use apache 2.4 style permissions
authorTom Hughes <tom@compton.nu>
Wed, 20 Aug 2014 12:57:43 +0000 (13:57 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 20 Aug 2014 12:57:43 +0000 (13:57 +0100)
cookbooks/git/templates/default/apache.erb

index e9cb8b701328afad59232683855a3bf7947803ed..be5cbab6ea0ac38907b1b5d23f40f63fe2e3a948 100644 (file)
@@ -16,3 +16,7 @@
        RewriteRule ^/$ /gitweb.cgi%{REQUEST_URI} [L,PT]
        RewriteRule ^/(.*\.git/(?!/?(HEAD|info|objects|refs)).*)?$ /gitweb.cgi%{REQUEST_URI} [L,PT]
 </VirtualHost>
+
+<Directory <%= @directory %>>
+       Require all granted
+</Directory>