From: Tom Hughes Date: Tue, 10 Jun 2014 12:35:35 +0000 (+0100) Subject: Grant access to document root for apache 2.4 X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/08e15b969def6ab80697e8830ae401ac1f197e25 Grant access to document root for apache 2.4 --- diff --git a/cookbooks/nominatim/templates/default/apache.erb b/cookbooks/nominatim/templates/default/apache.erb index 1c8c82f7d..eeda42062 100644 --- a/cookbooks/nominatim/templates/default/apache.erb +++ b/cookbooks/nominatim/templates/default/apache.erb @@ -28,6 +28,9 @@ AddType text/html .php AddType application/xml .phpx AddType application/json .phpj +<% if node[:lsb][:release].to_f >= 14.04 -%> + Require all granted +<% end -%>