apache 2.4 config for default vhost
authorPeter Palfrader <peter@palfrader.org>
Sun, 8 Feb 2015 13:01:55 +0000 (14:01 +0100)
committerPeter Palfrader <peter@palfrader.org>
Sun, 8 Feb 2015 13:01:55 +0000 (14:01 +0100)
modules/apache2/templates/default-debian.org.erb

index ea0fa67..ceed2d6 100644 (file)
        CustomLog /var/log/apache2/access.log privacy
 
        DocumentRoot /srv/www/default.debian.org/htdocs
+       <% if @lsbmajdistrelease > '7' -%>
+       <Directory /srv/www/default.debian.org/htdocs>
+               Require all granted
+       </Directory>
+       <% end -%>
 
        HostnameLookups Off
        UseCanonicalName Off