<!--
	d39tyngrchxzcn.cloudfront.net
		- Equivalent to www.worldcampus.psu.edu


	Nonfunctional domains:

		- psu.edu subdomains:

			- //
			- agsci			(redirects to login page)
			- app			(cert: app.outreach.psu.edu)
			- pa4h.cas		(cert: agsci.psu.edu; shows that domain's data)
			- ceup
			- www.cfs		(times out)
			- www.dept		(redirects to login page over https, to www.psu.edu/dept/ over http)
			- (www.)events
			- extension		(cert: agsci.psu.edu; shows that domain's data)
			- alumni.libraries	(cert: www.libraries.psu.edu; shows that domain's data)
			- ask.libraries		(ditto)
			- live			(Akamai; "Service Unavailable")
			- www.marcellus		(times out)
			- eliondemo.oas
			- origin-live
			- gcc.outreach		(cert: appnew.outreach.psu.edu; shows that domain's data)
			- jasi.outreach
			- penntap		(cert: appnew.outreach.psu.edu; shows that domain's data)
			- www.psupress
			- sbdc			(cert: appnew.outreach.psu.edu; shows that domain's data)
			- search
			- siteindex		(cert: localhost.localdomain, expired; "THIS NICE DOCUMENT ROOT")
			- storyboard		(cert: www.dept.psu.edu; shows that domain's data)
			- openness
			- www			(times out)

		- (www.)psu.jobs

		- (www.)wpsu.org	(times out)

-->
<ruleset name="Pennsylvania State University (partial)">

	<target host="*.psu.edu" />
	<target host="www.*.psu.edu" />
	<target host="citeseerx.ist.psu.edu" />
	<target host="*.libraries.psu.edu" />
	<target host="elionfacadv.oas.psu.edu" />
	<target host="appnew.outreach.psu.edu" />


	<securecookie host="^(?:cms|elion(?:facadv\.oas)?|secureapps\.libraries|appnew\.outreach|webaccess)\.psu\.edu$" name=".*" />


	<rule from="^http://(alumni|cms|elion|(?:cat|ill)\.libraries|elionfacadv\.oas|(?:(?:appnew|www)\.)?outreach|portal|webmail)\.psu\.edu/"
		to="https://$1.psu.edu/" />

	<!--	At least some paths redirect to http.	-->
	<rule from="^http://citeseerx\.ist\.psu\.edu/m(csutils/newAccount|yciteseer/login)"
		to="https://citeseerx.ist.psu.edu/m$1" />

	<!--	- Certs don't match !www.
		- //libraries redirects to www.libraries
					-->
	<rule from="^https?://(?:www\.)?(libraries|worldcampus)\.psu\.edu/"
		to="https://www.$1.psu.edu/" />

	<!--	- Cert only matches secureapps
		- apps redirects to secureapps
					-->
	<rule from="^https://(?:secure)?apps\.libraries\.psu\.edu/"
		to="https://secureapps.libraries.psu/" />

</ruleset>
