X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/faf8ae12e85eabb050b0f5eceb2cb67ad1de5261..666b7914471b7254919eaff62add0d9e69556f14:/cookbooks/piwik/templates/default/apache.erb diff --git a/cookbooks/piwik/templates/default/apache.erb b/cookbooks/piwik/templates/default/apache.erb index 522935880..8b7f375c6 100644 --- a/cookbooks/piwik/templates/default/apache.erb +++ b/cookbooks/piwik/templates/default/apache.erb @@ -8,7 +8,10 @@ CustomLog /var/log/apache2/piwik.openstreetmap.org-access.log combined ErrorLog /var/log/apache2/piwik.openstreetmap.org-error.log + Options -Indexes + DocumentRoot /srv/piwik.openstreetmap.org + RedirectPermanent /index.php https://piwik.openstreetmap.org/index.php @@ -24,5 +27,11 @@ CustomLog /var/log/apache2/piwik.openstreetmap.org-access.log combined ErrorLog /var/log/apache2/piwik.openstreetmap.org-error.log + Options -Indexes + DocumentRoot /srv/piwik.openstreetmap.org + + + Require all granted +