]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/forum/templates/default/apache.erb
Fix a few forum configuration issues
[chef.git] / cookbooks / forum / templates / default / apache.erb
index d84b0196779a277db1618eb737263384cb801aaa..4b3c844c82cc79c29069356182773a5d60d4bfcb 100644 (file)
 </VirtualHost>
 
 <Directory /srv/forum.openstreetmap.org/html>
-           RewriteEngine on
+        RewriteEngine on
+        RewriteRule ^config\.php$ - [F,L]
 
-           RewriteRule ^config\.php$ - [F,L]
+        Options -Indexes
+
+        Require all granted
 </Directory>
 
 <Directory /srv/forum.openstreetmap.org/html/img>