protected function asHtmlIndexFileInDirectory($sitePath, $uri) { return $sitePath . rtrim($uri, '/') . '/index.html'; }