From e576b9593480be04c19a0e3fa648967a1c2f3c85 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 8 Feb 2015 14:01:55 +0100 Subject: [PATCH] apache 2.4 config for default vhost --- modules/apache2/templates/default-debian.org.erb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/apache2/templates/default-debian.org.erb b/modules/apache2/templates/default-debian.org.erb index ea0fa67de..ceed2d6f4 100644 --- a/modules/apache2/templates/default-debian.org.erb +++ b/modules/apache2/templates/default-debian.org.erb @@ -10,6 +10,11 @@ CustomLog /var/log/apache2/access.log privacy DocumentRoot /srv/www/default.debian.org/htdocs + <% if @lsbmajdistrelease > '7' -%> + + Require all granted + + <% end -%> HostnameLookups Off UseCanonicalName Off -- 2.20.1