<!--
	For rules that are on by default, see University-of-Stuttgart.xml.

-->
<ruleset name="University of Stuttgart (self-signed)" default_off="self-signed">

	<target host="fex.rus.uni-stuttgart.de" />
	<target host="icp.uni-stuttgart.de" />
	<target host="www.icp.uni-stuttgart.de" />
	<target host="mbox.uni-stuttgart.de" />
	<target host="www-print.rus.uni-stuttgart.de" />
	<target host="www.stud.uni-stuttgart.de" />


	<securecookie host="^www\.icp\.uni-stuttgart\.de$" name=".*" />


	<!--	This is what the server does over http.
		Over https, it redirects to src/,
		which probably isn't what's intended.
			Don't mess with it if it's
		already pointing to https though,
		as that probably would be intended.	-->
	<rule from="^http://(?:www\.)?icp\.uni-stuttgart\.de/$"
		to="https://www.icp.uni-stuttgart.de/~icp/" />

	<rule from="^http://(?:www\.)?icp\.uni-stuttgart\.de/"
		to="https://www.icp.uni-stuttgart.de/" />

	<rule from="^http://(mobox|fex\.rus)\.uni-stuttgart\.de/"
		to="https://$1.uni-stuttgart.de/" />

	<!--	- ^stud times out
		- At least some pages 302 to http
					-->
	<rule from="^http://www\.stud\.uni-stuttgart\.de/(css|img)/"
		to="https://www.stud.uni-stuttgart.de/$1/" />

</ruleset>
