when accessing directories, try to serve index.html