// if url is a directory let's add index.html and redirect client
if (S_ISDIR (sbuf.st_mode)) {
close (staticfile->fd); // close directory check for Index
// if url is a directory let's add index.html and redirect client
if (S_ISDIR (sbuf.st_mode)) {
close (staticfile->fd); // close directory check for Index