<!--
	Nonfunctional domains:

		- developer.myspace.com
		- cms.myspacecdn.com		(valid cert; 504)


	Problematic domains:

		- 1[1-4].ec-images.myspacecdn.com	(CN: gp1.wac.edgecastcdn.net; works)


	Fully covered domains:

		- secure.adviva.net
		- (www.)imeem.com
		- (www.)myspace.com
		- new.myspace.com
		- a[1-4].ec-images.myspacecdn.com
		- a[1-4]-images.myspacecdn.com
		- x.myspacecdn.com

-->
<ruleset name="Myspace (mixed content)" platform="mixedcontent">

	<target host="secure.adviva.net" />
	<target host="imeem.com" />
	<target host="www.imeem.com" />
	<target host="myspace.com" />
	<target host="*.myspace.com" />
	<target host="*.myspacecdn.com" />
	<target host="*.ec-images.myspacecdn.com" />


	<securecookie host="^\.myspace\.com$" name=".*" />


	<rule from="^http://secure\.adviva\.net/"
		to="https://secure.adviva.net/" />

	<!--	Redirects like so.
					-->
	<rule from="^https?://(?:www\.)?imeem\.com/"
		to="https://www.myspace.com/music/" />

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

	<rule from="^http://(a\d-images|x)\.myspacecdn\.com/"
		to="https://$1.myspacecdn.com/" />

	<rule from="^https?://a(\d)\.ec-images\.myspacecdn\.com/"
		to="https://a$1-images.myspacecdn.com/" />

</ruleset>
