<!--
	For rules that are on by default, see MSN.xml.


	CDN buckets:

		- www.msnbc.msn.com.edgesuite.net

-->
<ruleset name="MSN (mismatches)" default_off="mismatch">

	<!--	*.msnbc.msn.com, doesn't redirect to www
						-->
	<target host="msnbc.msn.com" />
	<!--
		301s to www.
					-->
		<exclusion pattern="^https?://www\.msnbc\.msn\.com/id/" />
	<!--
		Akamai: assets(\dd)?, www
						-->
	<target host="*.msnbc.msn.com" />
	<target host="*.today.msnbc.msn.com" />
	<target host="msnbcmedia.msn.com" />
	<target host="msnbcmedia1.msn.com" />
	<target host="msnbcmedia2.msn.com" />
	<target host="msnbcmedia3.msn.com" />
	<target host="msnbcmedia4.msn.com" />
	<target host="my.msn.com" />
	<target host="realestate.msn.com" />
	<target host="img1.video.s-msn.com" />
	<!--
		Akamai
			-->
	<target host="polls.newsvine.com" />
	<target host="www.polls.newsvine.com" />
		<!--
			Also hosted on www, handled in Newsvine.com.xml
									-->
		<exclusion pattern="http://(?:www\.)?polls\.newsvine\.com/_(?:static|vine)/" />
	<target host="m.static.newsvine.com" />


	<!--	www moved from Akamai to pantherssl and so stopped working.

		These paths don't 301 to http:

			- redirect.aspx

		These do:

			- id/
					-->
	<rule from="^http://(?:www\.)?msnbc\.msn\.com/"
		to="https://msnbc.msn.com/" />

	<rule from="^http://m(edia\.msnbc|snbcmedia\d?)\.msn\.com/"
		to="https://a248.e.akamai.net/f/1127/349/8m/m$1.msn.com/" />

	<!--	Akamai
			-->
	<rule from="^http://(behindthewall|bodyodd|bottomline|cartoonblog|cosmiclog|ed|dailynightly|entertainment|firstread|hardballblog|insidedateline|itineraries|maddowblog|mojoe|openchannel|overheadbin|photoblog|presspass|redtape|scoop|thelastword|(?:animaltracks|bites|celebrate|digitallife|lifeinc|moms|rockcenter|scoop|theclicker|thelook|today(?:entertainment|health|hiringourheroes|onthetrail|travel)|windsorknot)\.today|travelkit|usnews(?:first)?|vitals|world(?:blog|news|newsfirst))\.msnbc\.msn\.com/"
		to="https://$1.msnbc.msn.com/" />

	<!--	- foo.today.msnbc.msn.com cert: *.newsvine.com
		- foo.today 302s to foo
					-->
	<rule from="^http://(economywatch|marketday|nbcpolitics)(?:\.today)?\.msnbc\.msn\.com/"
		to="https://$1.msnbc.msn.com/" />

	<!--	- Akamai
		- 302s like so
				-->
	<rule from="^http://fieldnotes\.msnbc\.msn\.com/"
		to="https://usnews.msnbc.msn.com/" />

	<!--	- Akamai
		- allday 302s to allday.today
						-->
	<rule from="^http://allday(?:\.today)\.msnbc\.com/"
		to="https://allday.today.msnbc.com/" />

	<!--	- www.today cert: *.msnbc.msn.com
		- 301s to today
					-->
	<rule from="^http://(?:www\.)?today\.msnbc\.msn\.com/"
		to="https://today.msnbc.msn.com/" />

	<rule from="^http://(my|realestate)\.msn\.com/"
		to="https://$1.msn.com/" />

	<rule from="^http://img1\.video\.s-msn\.com/"
		to="https://img1.video.s-msn.com/" />

	<rule from="^http://((?:www\.)?polls|m\.static)\.newsvine\.com/"
		to="https://$1.newsvine.com/" />

</ruleset>