Bug 12350 - disable apache indexes
authorRobin Sheat <robin@catalyst.net.nz>
Tue, 3 Jun 2014 02:23:43 +0000 (14:23 +1200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 23 Jun 2014 18:14:42 +0000 (15:14 -0300)
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 <tomascohen@gmail.com>
debian/templates/apache-shared.conf

index 33c6633..9ee3b0f 100644 (file)
@@ -64,7 +64,7 @@ SetEnv PERL5LIB "/usr/share/koha/lib"
     ExpiresByType image/gif "access plus 12 hours"
 </IfModule>
 
-Options +FollowSymLinks
+Options +FollowSymLinks -Indexes
 
 
 ErrorDocument 400 /cgi-bin/koha/errors/400.pl