From 7fff2195d2aaece2b92592d26f6fa11607c2e98d Mon Sep 17 00:00:00 2001 From: Robin Sheat Date: Tue, 3 Jun 2014 14:23:43 +1200 Subject: [PATCH] Bug 12350 - disable apache indexes Test plan: * Go to http://library/opac-tmpl and check you get a 403 error instead of a directory listing. --- debian/templates/apache-shared.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/templates/apache-shared.conf b/debian/templates/apache-shared.conf index 33c6633..9ee3b0f 100644 --- a/debian/templates/apache-shared.conf +++ b/debian/templates/apache-shared.conf @@ -64,7 +64,7 @@ SetEnv PERL5LIB "/usr/share/koha/lib" ExpiresByType image/gif "access plus 12 hours" -Options +FollowSymLinks +Options +FollowSymLinks -Indexes ErrorDocument 400 /cgi-bin/koha/errors/400.pl -- 1.8.3.2