<ruleset name="Scientific American (partial)" platform="mixedcontent">

	<target host="sciamdigital.com" />
	<target host="www.sciamdigital.com" />
	<target host="scientificamerican.com" />
	<target host="*.scientificamerican.com" />


	<!--	Observed cookies:

			- ^\.
			- ^subscribe
			- ^www
				-->
	<securecookie host=".*\.scientificamerican.com$" name=".*" />


	<!--	There may be more pages that
		don't  redirect to http.	-->
	<rule from="^http://(www\.)?sciamdigital\.com/(ax/|(cover)?images/|index\.cfm\?fa=Account\.ViewLogin)/"
		to="https://$1sciamdigital.com/$2/" />

	<!--	https://mail1.eff.org/pipermail/https-everywhere-rules/2012-June/001189.html

		https://mail1.eff.org/pipermail/https-everywhere-rules/2012-July/001248.html
												-->
	<rule from="^https?://www\.scientificamerican\.com/media/cover/current\.jpg"
		to="https://www.scientificamerican.com/media/cover/current.cfm" />

	<!--	https://trac.torproject.org/projects/tor/ticket/8077
		https://mail1.eff.org/pipermail/https-everywhere-rules/2013-February/001487.html
												-->
	<rule from="^https?://www\.scientificamerican\.com/assets/css/screen/I\.([\w\-\.]+)\.css\.pagespeed\.cf\.\w+\.css$"
		to="https://www.scientificamerican.com/assets/css/screen/$1.css" />

	<rule from="^https?://www\.scientificamerican\.com/(.+)\.pagespeed\..*$"
		to="https://www.scientificamerican.com/$1" />

	<rule from="^http://(subscribe\.|www\.)?scientificamerican\.com/"
		to="https://$1scientificamerican.com/" />

</ruleset>
