<ruleset name="Openhost (partial)" platform="mixedcontent">

	<!--	mismatch	-->
	<target host="mycp.co.nz"/>
	<target host="www.mycp.co.nz"/>
	<target host="openhost.co.nz"/>
	<target host="*.openhost.co.nz"/>
	<target host="openhost.net.nz"/>
	<target host="*.openhost.net.nz"/>


	<!--	is cross-domain hspc cookie used on non-secure pages?	-->
	<securecookie host="^hspc\.openhost\.net\.nz$" name=".*"/>
	<securecookie host="^support\.openhost\.co\.nz$" name=".*"/>
	<securecookie host="^store\.openhost\.net\.nz$" name=".*"/>


	<rule from="^http://(?:www\.)?mycp\.co\.nz/"
		to="https://hspc.openhost.net.nz/sign_in.php"/>

	<!--	everything on www but homepage redirects to .co.net homepage...	-->
	<rule from="^http://(www\.)?openhost\.(?:co|net)\.nz/$"
		to="https://$1openhost.net.nz/"/>

	<rule from="^http://support\.webhost\.co\.nz/"
		to="https://support.webhost.co.nz/"/>

	<rule from="^http://(hspc|store)\.openhost\.net\.nz/"
		to="https://$1.openhost.net.nz/"/>

</ruleset>
