Convert directory url path to it's index file path