<!--
	For client coverage, see 24-7-Media-clients.xml.


	CDN buckets:

		- imagec14.247realmedia.com.edgesuite.net

			- imagec15

		- imageceu1.247realmedia.com.edgesuite.net



	Nonfunctional domains:

		- (www.)247media.com
		- (www.)247realmedia.com


	Problematic domains:

		- imagec14.247realmedia.com	(akamai)
		- imageceu1.247realmedia.com	(503, akamai)


	Fully covered domains:

		- imagec14.247realmedia.com	(→ oasc14)
		- imageceu1.247realmedia.com	(→ oasc-eu1)
		- oasc-eu1.247realmedia.com
		- openadstream-eu1.247realmedia.com


	Nonexistent 247realmedia.com subdomains:

		- oasc0[0-4]
		- oasc1[39]
		- openadstream1[139]

-->
<ruleset name="24/7 Media (partial)">

	<target host="*.247realmedia.com" />
	<target host="*.realmedia.com" />


	<!--	If something breaks, try commenting
		this cross-domain cookie rule.
					-->
	<securecookie host="^.*\.(?:247)?realmedia\.com$" name=".+" />
	<securecookie host="^network\.realmedia\.com$" name=".+" />


	<rule from="^http://imagec14\.247realmedia\.com/"
		to="https://oasc14.247realmedia.com/" />

	<rule from="^http://imageceu1\.247realmedia\.com/"
		to="https://oasc-eu1.247realmedia.com/" />

	<!--	Ads on 3rd-party websites.

			Although some in \d don't exist, we're not breaking
		anything by "handling" them, and doing so makes things simpler.
							-->
	<rule from="^http://o(asc[01]\d|asc-eu1|penadstream(?:1\d|-eu1))\.247realmedia\.com/"
		to="https://o$1.247realmedia.com/" />

	<!--	Cert mismatch.
				-->
	<rule from="^http://oasc([01]\d)(?:a|\d{1,3})\.247realmedia\.com/"
		to="https://oasc$1.247realmedia.com/" />

	<rule from="^http://network\.realmedia\.com/"
		to="https://network.realmedia.com/" />

	<!--	Cert mismatch.
				-->
	<rule from="^http://oas-central\.realmedia\.com/"
		to="https://oasc10.247realmedia.com/" />

</ruleset>
