<!--
	For problematic rules, see Williams-College-self-signed.xml.


	Nonfunctional subdomains:

		- 62center	(cert: cf.williams.edu; shows that domain's data)
		- alumni
		- (www.)cs	(cert only matches www.cs; redirects to webmail login)
		- sysnet.cs
		- emuseum	(times out)
		- music

-->
<ruleset name="Williams College (partial)" platform="mixedcontent">

	<target host="williams.edu" />
	<target host="*.williams.edu" />


	<!--	There's a cross-domain cookie set by webprspct, which
		is not handled in case it's used on unsecurable pages
				-->
	<securecookie host="^\w+\.williams\.edu$" name=".*" />



	<!--	- !www redirects to www.williams.edu/wp-signup.php over https
		- wp-signup.php redirects infinitely
		- !www redirects to www.../$ over http
					-->
	<rule from="^https?://(?:www\.)?williams\.edu/"
		to="https://www.williams.edu/" />

	<rule from="^http://(admission|cf|francis|glow|it|roomscheduler|sarah|sites|wcma|web|webprspct)\.williams\.edu/"
		to="https://$1.williams.edu/" />

	<!--	- Cert only matches sites
		- people redirects to sites
				-->
	<rule from="^https?://people\.williams\.edu/"
		to="https://sites.williams.edu/" />

</ruleset>
