fixed: if the url is a directory, and the url doesn't have a slash at the end, return a redirect to the url with a slash added, if it does have a slash at the end, try to open index.html in the directory