X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/891d124699c14c4b91f8924d06dd2af8697e6e87..ae4d13c8ba1b86d2f94bcdec799d0db052425333:/cookbooks/wordpress/templates/default/apache.erb diff --git a/cookbooks/wordpress/templates/default/apache.erb b/cookbooks/wordpress/templates/default/apache.erb index 6281fc2db..59b63f753 100644 --- a/cookbooks/wordpress/templates/default/apache.erb +++ b/cookbooks/wordpress/templates/default/apache.erb @@ -35,6 +35,11 @@ DocumentRoot <%= @directory %> <% @urls.each do |url,directory| -%> Alias <%= url %> <%= directory %> + > + AllowOverride None + php_admin_flag engine off + Require all granted + <% end -%> php_admin_value open_basedir <%= @directory %>/:/usr/share/php/:/tmp/