Redirect on index file request correctly.