<!--
	Problematic subdomains:

		- ^	(cert only matches www)
		- demo	(times out)

-->
<ruleset name="Hexonet">

	<target host="hexonet.net" />
	<target host="*.hexonet.net" />


	<securecookie host=".*\.hexonet\.net$" name=".+" />


	<rule from="^http://(?:www\.)?hexonet\.net/"
		to="https://www.hexonet.net/" />

	<rule from="^http://(cp-ote|wi)\.hexonet\.net/"
		to="https://$1.hexonet.net/" />

	<rule from="^http://demo\.hexonet\.net/(?:\?.*)?$"
		to="https://cp-ote.hexonet.net/cp2/index.php/domain/listing/?LOGIN_USER=test.user&amp;LOGIN_PASSWORD=test.passw0rd" />

</ruleset>