<ruleset name="Polytechnic University of Catalonia (partial)">

	<target host="upc.edu"/>
	<target host="*.upc.edu"/>
	<target host="*.blog.upc.edu"/>
	<target host="upc.es"/>
	<target host="*.upc.es"/>

	<securecookie host="^(.*\.)upc\.edu$" name=".*"/>

	<rule from="^http://(?:www\.)?upc\.(?:es|edu)/"
		to="https://www.upc.edu/"/>

	<rule from="^http://australis\.upc\.es/"
		to="https://australis.upc.es/"/>

	<rule from="^http://(\w+\.blog|peguera|tv)\.upc\.edu/"
		to="https://$1.upc.edu/"/>

</ruleset>
