Return index.html for directory req's and prevent directory traversal req's