]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/trac/templates/default/apache.erb
Use apache 2.4 style access controls
[chef.git] / cookbooks / trac / templates / default / apache.erb
index 255ed18dd955f5c38a25327d3e69f497bea0096b..f309b50f83724f6ae19e6a8ed5a93a65cebeb2d6 100644 (file)
@@ -37,3 +37,11 @@ WSGIDaemonProcess <%= @name %> user=<%= @user %> group=<%= @group %> maximum-req
                Require valid-user
        </Location>
 </VirtualHost>
+
+<Directory <%= @directory %>/htdocs>
+       Require all granted
+</Directory>
+
+<Directory <%= @directory %>/cgi-bin>
+       Require all granted
+</Directory>