<!--
	Nonfunctional subdomains:

		- (www.)admissions		(rx_record_too_long)
		- advising			(CN: prv-web.eng.buffalo.edu; shows that domain)
		- (www.)academy			(ditto)
		- (www.)apb			(CN: www.buffalo.edu; shows www)
		- (www.)cit-helpdesk		(rx_record_too_long)
		- (www.)computersecurity	(ditto)
		- (www.)curca			(CN: prv-web.eng.buffalo.edu; shows that domain)
		- (www.)discoveryseminars	(ditto)
		- (www.)financialaid		(rx_record_too_long)
		- (www.)health			(ditto)
		- helpdesk			(ditto)
		- (www.)giving			(CN: www.buffalo.edu; shows www)
		- www.grad			(rx_record_too_long)
		- (www.)itpolicies		(ditto)
		- (www.)law
		- (www.)orientation		(CN: prv-web.eng.buffalo.edu; shows that domain)
		- (www.)ub-careers		(rx_record_too_long)
		- undergrad-catalog		(ditto)
		- universityscholars		(CN: prv-web.eng.buffalo.edu; shows that domain)

-->
<ruleset name="University at Buffalo (partial)">

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


	<securecookie host="^.+\.buffalo\.edu$" name=".+" />


	<rule from="^http://((?:(?:www\.)?(?:alumni|hr|myub|provost|ubit|wings)|prv-web\.eng|inted\.oie|security|shibboleth|ublearns|ubmail|www)\.)?buffalo\.edu/"
		to="https://$1buffalo.edu/" />

	<!--	At least some pages redirect to http.
							-->
	<rule from="^http://(www\.)?student-affairs\.buffalo\.edu/(\w+/)?(images|style)/"
		to="https://$1student-affairs.buffalo.edu/$2$3/" />

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

	<!--	Cert only matches www.ubjobs.
						-->
	<rule from="^https?://(?:www\.)?ubjobs\.buffalo\.edu/"
		to="https://www.ubjobs.buffalo.edu/" />

</ruleset>