Grant access to document root for apache 2.4
authorTom Hughes <tom@compton.nu>
Tue, 10 Jun 2014 12:35:35 +0000 (13:35 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 10 Jun 2014 12:35:35 +0000 (13:35 +0100)
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 />