<!--
	Nonfunctional subdomains:

		- alumn			(presents link to kuleuven.be/kuleuven/)
		- onderwijsaanbod


	Problematic subdomains:

		- esat	(cert only matches www.esat)


	Partially covered subdomains:

		- (www.)esat	(^ → www, cosic 400s)


	Fully covered subdomains:

		- bronx.esat
		- www.cosic.esat

-->
<ruleset name="Katholieke Universiteit Leuven (partial)">

	<target host="kuleuven.be" />
	<target host="*.kuleuven.be" />
		<!--
			400:
				-->
		<exclusion pattern="^http://(?:www\.)?esat\.kuleuven\.be/+cosic(?:$|[?/])" />
	<target host="www.dml.kuleuven.be" />
	<target host="owa.groupware.kuleuven.be" />


	<securecookie host="^.+\.kuleuven\.be$" name=".+" />


	<!--	Cert only matches www.	-->
	<rule from="^http://(?:www\.)?(esat\.)?kuleuven\.be/"
		to="https://www.$1kuleuven.be/" />

	<rule from="^http://(aai|activatie|admin|alumni|associatie|bib|cwisdb|(?:www\.)?dml|(?:bronx|www\.cosic)\.esat|owa\.groupware|icts|idp|ludit|netlogin|nieuws|password|status|stijl|owa\.student|toledo|wachtwoord|webmail)\.kuleuven\.be/"
		to="https://$1.kuleuven.be/" />

	<!--	- Doesn't work over https
		- 302s like so
			-->
	<rule from="^http://organigram\.kuleuven\.be/$"
		to="https://www.kuleuven.be/wieiswie/nl/unit/50000050" />

</ruleset>
