From 08e15b969def6ab80697e8830ae401ac1f197e25 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 10 Jun 2014 13:35:35 +0100 Subject: [PATCH] Grant access to document root for apache 2.4 --- cookbooks/nominatim/templates/default/apache.erb | 3 +++ 1 file changed, 3 insertions(+) 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 -%> -- 2.43.2