public function getSitePath($url, $match_scheme = true) {
		$ret = $this->analyzeUrl($url);

		if (!$ret || !$ret['path_within_site'] || ($ret['site_host'] !== $ret['host'])) {
			return false;
		}

		if ($match_scheme && ($ret['scheme'] !== $ret['site_scheme'])) {
			return false;
		}

		return new SitePath(implode('/', $ret['url_segments_within_site']));
	}