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