<!--
	Nonfunctional subdomains:

		- blog
		- forum

-->
<ruleset name="Sape (partial)">

	<target host="sape.ru" />
	<target host="*.sape.ru" />
	<!--
		*s for cross-domain cookies.
					-->
	<target host="*.articles.sape.ru" />
	<target host="*.help.sape.ru" />
	<target host="*.pr.sape.ru" />


	<securecookie host="^.*\.sape\.ru$" name=".+" />


	<!--	Cert only matches *.sape.ru.
						-->
	<rule from="^https?://(?:www\.)?sape.ru/"
		to="https://www.sape.ru/" />

	<rule from="^http://(articles|help|passport|pr|static)\.sape\.ru/"
		to="https://$1.sape.ru/" />

</ruleset>
