<!--
	Nonfunctional subdomains:

		- passwords12.at.ifi *
		- ifi
		- www.ifi *
		- www.matnat.uio.no	(redirects to mn, mismatched, CN: www.mn.uio.no)

	* 404, CN: heim.ifi.uio.no


	Partially covered subdomains:

		- (www.)ifi		(→ mn.uio.no)


	Fully covered subdomains:

		- (www.)
		- (www.)apollon
		- heim.ifi
		- (www.)matnat		(→ www.mn.uio.no)
		- (www.)mn
		- studweb
		- (www.)ub

-->
<ruleset name="University of Oslo">

	<target host="uio.no" />
	<target host="*.uio.no" />
	<target host="www.*.uio.no" />
	<target host="heim.ifi.uio.no" />


	<rule from="^http://((?:(?:www\.)?(?:apollon|mn|ub)|heim\.ifi|studweb|www)\.)?uio\.no/"
		to="https://$1uio.no/" />

	<rule from="^https?://(?:www\.)?ifi\.uio\.no/($|\?.*)"
		to="https://mn.uio.no/ifi/$1" />

	<rule from="^https?://(?:www\.)?ifi\.uio\.no/it/(?:$|hjemmeside\.html$|(\?.*))"
		to="https://mn.uio.no/ifi/tjenester/it/$1" />

	<rule from="^https?://(?:www\.)?matnat\.uio\.no/"
		to="https://www.mn.uio.no/" />

</ruleset>