<!--
	Problematic subdomains:

		- ^ *
		- content.www *

	* Cert only matches *.rspca.org.uk

-->
<ruleset name="RSPCA (partial)" platform="mixedcontent">

	<target host="rspca.org.uk" />
	<target host="*.rspca.org.uk" />
		<!--
			Homepage redirects to http
							-->
		<exclusion pattern="^http://www\.rspca\.org\.uk/(?:home)?$" />
	<target host="rspcashop.co.uk" />
	<target host="*.rspcashop.co.uk" />


	<securecookie host="^(?:donation|\.gift)s\.rspca\.org\.uk$" name=".+" />
	<!--
		cookie from data rewritten from content.www
								-->
	<securecookie host="^www\.rspca\.org\.uk$" name="^CMS_PRD_SESSIONID$" />
	<securecookie host="^(?:.*\.)?rspcashop\.co\.uk$" name=".+" />


	<rule from="^http://(?:(?:content\.)?www\.)?rspca\.org\.uk/"
		to="https://www.rspca.org.uk/" />

	<rule from="^http://donations\.rspca\.org\.uk/"
		to="https://donations.rspca.org.uk/" />

	<rule from="^http://(www\.)?rspcashop\.co\.uk/"
		to="https://$1rspcashop.co.uk/" />

</ruleset>
