<!--
	Nonfunctional subdomains:

		- psychology	(redirects to as)
		- sshs		(redirects to as)

-->
<ruleset name="University of Exeter (buggy)" default_off="https://eff.org/r.4bSh">

	<target host="ex.ac.uk" />
	<target host="*.ex.ac.uk" />
	<target host="www.*.ex.ac.uk" />
	<target host="exeter.ac.uk" />
	<target host="*.exeter.ac.uk" />
	<target host="www.*.exeter.ac.uk" />
		<!--	These redirect to as :(	-->
		<exclusion pattern="^http://(www\.)?(psychology|sshs)\." />


	<securecookie host="^(.*\.)?exeter\.ac\.uk$" name=".*" />


	<!--	Observed subdomains:

			- apps
			- as
			- biosciences
			- business-school
			- education
			- emps
			- evisit	(stats beacon)
			- geography
			- gosling
			- humanities
			- intranet
			- lib
			- lifesciences
			- my
			- mysso
			- owa
			- projects
			- sid
			- socialsciences
			- srs
			- www


	Cert only matches exeter
				-->
	<rule from="^https?://([\w\-]+\.)?ex(?:eter)?\.ac\.uk/"
		to="https://$1exeter.ac.uk/" />

	<!--	Cert only matches //*.exeter	-->
	<rule from="^https?://(?:www\.)?([\w\-]+\.)ex(?:eter)?\.ac\.uk/"
		to="https://$1exeter.ac.uk/" />

</ruleset>
