X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/42b807e6849dffb8463819c2379c4c29994dba03..af08abd9a84a360f523def1d5dde94f909d8553f:/cookbooks/tile/templates/default/apache.erb diff --git a/cookbooks/tile/templates/default/apache.erb b/cookbooks/tile/templates/default/apache.erb index 91a901e45..24b87902b 100644 --- a/cookbooks/tile/templates/default/apache.erb +++ b/cookbooks/tile/templates/default/apache.erb @@ -47,13 +47,21 @@ Options None AllowOverride None +<% if node[:lsb][:release].to_f >= 14.04 -%> + Require all granted +<% else -%> Order allow,deny Allow from all +<% end -%> Options ExecCGI AllowOverride None +<% if node[:lsb][:release].to_f >= 14.04 -%> + Require all granted +<% else -%> Order allow,deny Allow from all +<% end -%>