htaccess: prevent directory indexes in case of mod_autoindex
authorMischa POSLAWSKY <perl@shiar.org>
Fri, 15 Oct 2021 10:46:11 +0000 (12:46 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 25 Oct 2021 14:33:21 +0000 (16:33 +0200)
Disabled on the current server, but probably installed by default.

.htaccess

index b23841fb4e9e691abf8613fcc0d0fab4e96d2745..f9d21dd91309d68baee254c63fd969dc8438984e 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -1,4 +1,4 @@
-Options        -MultiViews
+Options        -MultiViews -Indexes
 DirectoryIndex index.plp
 DirectorySlash Off