<ruleset name="NHS (partial)">

	<target host="healthunlocked.com"/>
	<target host="*.healthunlocked.com"/>
	<target host="nhs.uk"/>
	<target host="www.nhs.uk"/>
	<target host="talkhealthpartnership.com"/>
	<target host="*.talkhealthpartnership.com"/>


	<securecookie host="^(www2?\.)?healthunlocked\.com$" name=".*"/>
	<securecookie host="^(.*\.)?talkhealthpartnership\.com$" name=".*"/>


	<rule from="^http://(www2?\.)?healthunlocked\.com/"
		to="https://$1healthunlocked.com/"/>

	<!--	communities pages redirect to http	-->
	<rule from="^http://([\w\-]+)\.healthunlocked\.com/(assets/|images/)"
		to="https://$1.healthunlocked.com/$2"/>

	<!--	everything on login page and no more	-->
	<rule from="^http://(?:www\.)?nhs\.uk/(_layouts/\d\d\d\d/styles/Menu\.css|conditions/|css/(?:base|find-services|personalisation|print|reset|screen)\.css|img/(?:buttons/btn-arrow\.gif|header/|(?:chevron-grey|directgov|information-standards|sprite-footer)\.gif|sub-nav-b(?:g|order))|News/|Personalisation/)"
		to="https://www.nhs.uk/$1"/>

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

</ruleset>
