--- ./althttpd.c.orig +++ ./althttpd.c @@ -3237,11 +3237,8 @@ if( stat(zLine,&statbuf) || !S_ISDIR(statbuf.st_mode) ){ sprintf(zLine, "%s/default.website", zRoot); if( stat(zLine,&statbuf) || !S_ISDIR(statbuf.st_mode) ){ - if( standalone ){ - sprintf(zLine, "%s", zRoot); - }else{ - NotFound(350); /* LOG: *.website permissions */ - } + BlockIPAddress(); + ServiceUnavailable(350); /* LOG: *.website permissions */ } } zHome = StrDup(zLine);