]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/apache.erb
Grant access to document root for apache 2.4
[chef.git] / cookbooks / nominatim / templates / default / apache.erb
index 1c8c82f7d22683b0c0bc58066c1872b6dcbf892a..eeda42062f5d9de36db8b1803f9a74ab4a685ce7 100644 (file)
@@ -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 -%>
     </Directory>
 
     <Location />