<!--
	For problematic rules, see Aberystwyth-University-mismatches.xml.

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

	<target host="aber.ac.uk" />
	<target host="blackboard.aber.ac.uk" />
	<target host="cadair.aber.ac.uk" />
	<target host="careers.aber.ac.uk" />
	<target host="exchange.aber.ac.uk" />
	<target host="qmpsum.aber.ac.uk" />
	<target host="share.aber.ac.uk" />
	<target host="shibboleth.aber.ac.uk" />
	<target host="staffrecord.aber.ac.uk" />
	<target host="studentrecord.aber.ac.uk" />
	<target host="voyager.aber.ac.uk" />
	<target host="webmail.aber.ac.uk" />
	<target host="www.aber.ac.uk" />
	<target host="aber-ac-uk.campuspack.eu" />


	<!--	Letters are specified to as to avoid cadair,
		which doesn't have blanket support for https.	-->
	<securecookie host="^[bd-v]\w+\.aber\.ac\.uk$" name=".*" />


	<rule from="^http://cadair\.aber\.ac\.uk/dspace/ldap-login"
		to="https://cadair.aber.ac.uk/dspace/ldap-login" />

	<!--	Letters are specified so as to avoid cadair,
		which doesn't have blanket support for https.	-->
	<rule from="^http://([bd-v]\w+|careers|webmail)\.aber\.ac\.uk/"
		to="https://$1.aber.ac.uk/" />

	<rule from="^http://(?:www\.)?aber\.ac\.uk/(css|en/(?:development/(?:2010_)?registration|ibers/isnh8/(?:cancel|remove|retrieve)|media))/"
		to="https://www.aber.ac.uk/$1/" />

	<!--	ToDo: Move this to a campuspack ruleset.	-->
	<rule from="^http://aber-ac-uk\.campuspack\.eu/(Domain|static)/"
		to="https://aber-ac-uk.campuspack.eu/$1/" />


</ruleset>
