Fix access to stats.osm.org index
authorTom Hughes <tom@compton.nu>
Mon, 13 Feb 2017 15:52:09 +0000 (15:52 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 13 Feb 2017 15:52:09 +0000 (15:52 +0000)
cookbooks/stats/templates/default/apache.erb

index 44a7c77fc37137f012706db05b97a9cb44834633..47a589afdcfc9a019df9ac7cf431afd81a7e7acd 100644 (file)
        RedirectPermanent / https://stats.openstreetmap.org/
 </VirtualHost>
 
        RedirectPermanent / https://stats.openstreetmap.org/
 </VirtualHost>
 
+<Directory <%= @directory %>>
+       Options None
+       AllowOverride None
+       Require all granted
+</Directory>
+
 <Directory /var/lib/awstats>
        Options None
        AllowOverride None
 <Directory /var/lib/awstats>
        Options None
        AllowOverride None