<!--
	For other Facebook coverage, see Facebook.xml.


	CDN buckets:

		- a248.e.akamai.net/img.atdmt.com/

		- atlasdmt.vo.msecnd.net

			- cdn.atdmt.com
	

	Problematic subdomains:

		- cdn		(mismatched, CN: *.sharepointonline.com)
		- h ¹
		- img ²
		- exch-eu	(mismatched, CN: view.atdmt.com)
		- spe		(akamai)

	¹ Mismatched
	² Server sends no certificate chain, see https://whatsmychaincert.com


	Fully covered hosts in *atdmt.com:

		- c
		- c1
		- cdn		(→ atlasdmt.vo.msecnd.net)
		- clk
		- exch-eu	(→ view.atdmt.com)
		- flex
		- h		(→ h.bing.com)
		- image		(→ a248.e.akamai.net)
		- img		(→ a248.e.akamai.net)
		- rad
		- sact
		- spe		(→ a248.e.akamai.net)
		- switch
		- view


	Insecure cookies are set for these domains:

		- .atdmt.com


	c.atdmt.com sets MUID wildcard cookie on
	whichever domain it is loaded from.

-->
<ruleset name="Atdmt.com">

	<!--	Direct rewrites:
				-->
	<target host="c.atdmt.com" />
	<target host="c1.atdmt.com" />
	<target host="clk.atdmt.com" />
	<target host="flex.atdmt.com" />
	<target host="rad.atdmt.com" />
	<target host="sact.atdmt.com" />
	<target host="switch.atdmt.com" />
	<target host="view.atdmt.com" />

	<!--	Complications:
				-->
	<target host="cdn.atdmt.com" />
	<target host="exch-eu.atdmt.com" />
	<target host="h.atdmt.com" />
	<target host="image.atdmt.com" />
	<target host="img.atdmt.com" />
	<target host="spe.atdmt.com" />

		<exclusion pattern="^http://view\.atdmt\.com/action/windows_downloads_Upgrade" />

			<test url="http://view.atdmt.com/action/windows_downloads_Upgrade" />


	<!--	Not secured by server:
					-->
	<!--securecookie host="^\.atdmt\.com$" name="^(AA002|ATN|MUID)$" /-->

	<securecookie host="^(?:.*\.)?atdmt\.com$" name=".+" />


	<rule from="^http://cdn\.atdmt\.com/"
		to="https://atlasdmt.vo.msecnd.net/" />

	<rule from="^http://exch-eu\.atdmt\.com/"
		to="https://view.atdmt.com/" />

	<rule from="^http://h\.atdmt\.com/"
		to="https://h.bing.com/" />

	<rule from="^http://(?:image|img|spe)\.atdmt\.com/"
		to="https://a248.e.akamai.net/img.atdmt.com/" />

	<rule from="^http:"
		to="https:" />

</ruleset>
