2013-09-01 Fix if no trailing slash in URL

Although index.html was added if no file specified in the URL, this was
previously broken if the URL did not end in /