Remove no longer needed apache 2.4 conditionals
Signed-off-by: Julien Cristau <jcristau@debian.org>
# Make sure that the srm.conf directive is commented out.
AddDefaultCharSet Off
AllowOverride AuthConfig FileInfo
- <% if @lsbmajdistrelease > '7' -%>
- Require all granted
- <% end -%>
-
+ Require all granted
# Serve icons as image/x-icon
AddType image/x-icon .ico
AllowOverride FileInfo Indexes Options=Multiviews
Options Indexes SymLinksIfOwnerMatch
IndexOptions FancyIndexing NameWidth=*
- <% if @lsbmajdistrelease > '7' -%>
- Require all granted
- <% else -%>
- Order allow,deny
- Allow from all
- <% end -%>
+ Require all granted
</Directory>
Header set Surrogate-Key <%= hostname %>
AddDefaultCharset utf-8
<Directory /srv/static.debian.org/mirrors/lintian.debian.org/cur>
- <% if @lsbmajdistrelease > '7' -%>
- Require all granted
- <% end -%>
+ Require all granted
# These three lines makes apache serve
# "lintian.log.gz" as a text/plain with encoding gzip
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 -%>
+ <Directory /srv/static.debian.org/mirrors/planet.debian.org/cur>
+ Require all granted
+ </Directory>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^planeta.debian.net$ [NC]