<!--
	See MIT-mismatches for problematic rules.


	Nonfunctional:

		- ocw.mit.edu		(Akamai; "Service Unavailable")
		- tech.mit.edu		(cert: the-tech.mit.edu; 401)
		- the-tech.mit.edu	(401)
		- web.mit.edu		(self-signed; interrupted)
		- www.mit.edu		(interrupted)

-->
<ruleset name="Massachusetts Institute of Technology (partial)">

	<target host="*.mit.edu" />
	<target host="www.*.mit.edu" />
	<target host="mitpressjournals.org" />
	<target host="www.mitpressjournals.org" />


	<!--	Observed cookie domains:

			- mitpress
			- wayf
				-->
	<securecookie host="^mitpress.mit\.edu$" name=".*" />
	<securecookie host="^wayf\.mit\.edu$" name=".*" />

	<rule from="^http://(librar(?:ies|y)|(?:www\.|zyan\.)?scripts|wayf)\.mit\.edu/"
		to="https://$1.mit.edu/" />

	<rule from="^https?://(?:www\.)?mitpress\.mit\.edu/"
		to="https://mitpress.mit.edu/" />

	<rule from="^http://(www\.)?mitpressjournals\.org/((?:entityImage|na101|sda|templates|userimages)/|action/(?:registration|showLogin)$)"
		to="https://www.mitpressjournals.org/$2" />

</ruleset>
