--- http.c	2015-05-01 23:23:21.000000000 +0200
+++ ../changes/http.c	2015-07-30 10:53:39.144321615 +0200
@@ -1553,7 +1553,8 @@
       DIR* d;
       if (errno==ENOENT)
 	if (http_redirect(h,"index.html")) return -4;
-      if (!directory_index) return -1;
+	if (stat(".index",ss)==-1 && !directory_index) return -1;
+	if (stat(".noindex",ss)!=-1) return -1;
       if (!(d=opendir("."))) return -1;
       if (!http_dirlisting(h,d,Filename,args)) return -1;
 #ifdef USE_ZLIB
