From 6d75fa8d2137b51bb0de2bc0039b0e86f5a89705 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. Signed-off-by: Tomas Cohen Arazi --- 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 33c663303c..9ee3b0f206 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 -- 2.20.1