<Directory /srv/static.debian.org/mirrors/lintian.debian.org/cur>
# These two lines makes apache serve "lintian.log.gz" as a text/plain with encoding gzip
# making it easier to view the log in the browser.
+ <% if @lsbmajdistrelease > '7' -%>
+ Require all granted
+ <% end -%>
+
RemoveType .gz
AddEncoding x-gzip .gz
AddType text/plain .log
DocumentRoot /srv/static.debian.org/mirrors/planet.debian.org/cur
AddDefaultCharset utf-8
+ <% if @lsbmajdistrelease > '7' -%>
+ <Directory /srv/static.debian.org/mirrors/planet.debian.org/cur>
+ Require all granted
+ </Directory>
+ <% end -%>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^planeta.debian.net$ [NC]
AllowOverride FileInfo Indexes Options=Multiviews
Options Multiviews Indexes FollowSymLinks Includes
IndexOptions FancyIndexing NameWidth=*
- Order allow,deny
- Allow from all
+ <% if @lsbmajdistrelease > '7' -%>
+ Require all granted
+ <% else -%>
+ Order allow,deny
+ Allow from all
+ <% end -%>
</Directory>
DefaultType text/plain