added rejection of index.html