projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d9bec0
)
Grant access to document root for apache 2.4
author
Tom Hughes
<tom@compton.nu>
Tue, 10 Jun 2014 12:35:35 +0000
(13:35 +0100)
committer
Tom Hughes
<tom@compton.nu>
Tue, 10 Jun 2014 12:35:35 +0000
(13:35 +0100)
cookbooks/nominatim/templates/default/apache.erb
patch
|
blob
|
history
diff --git
a/cookbooks/nominatim/templates/default/apache.erb
b/cookbooks/nominatim/templates/default/apache.erb
index 1c8c82f7d22683b0c0bc58066c1872b6dcbf892a..eeda42062f5d9de36db8b1803f9a74ab4a685ce7 100644
(file)
--- 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 -%>
</Directory>
<Location />