]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/roles/templates/apache-www.debian.org.erb
Handle apache 2.4 authz_host config in www.debian.org template
[dsa-puppet.git] / modules / roles / templates / apache-www.debian.org.erb
index 12d579368a0cd84425bb597c35b812d03b22aab8..8c39f2905f8cad25743f6b60b59473d2e14ed2e7 100644 (file)
   # Make sure that the srm.conf directive is commented out.
   AddDefaultCharSet Off
   AllowOverride AuthConfig FileInfo
+  <% if @lsbmajdistrelease > '7' -%>
+    Require all granted
+  <% end -%>
+
 
   # Serve icons as image/x-icon
   AddType image/x-icon .ico
    DocumentRoot <%= wwwdo_document_root %>/
    ErrorLog /var/log/apache2/www-other.debian.org-error.log
    CustomLog /var/log/apache2/www-other.debian.org-access.log privacy
-   RewriteLog /var/log/apache2/www-other.debian.org-redirect.log
-   RewriteLogLevel 1
+   #RewriteLog /var/log/apache2/www-other.debian.org-redirect.log
+   #RewriteLogLevel 1
 
    RewriteEngine on
    RewriteRule ^/(.*)$ http://www.debian.org/$1 [R=301,L]