<!--
	Other AOL rulesets:

		- AOL.xml
		- AOL-Advertising.xml


	ToDo: find Akamai buckets.

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

	<!--	Akamai	-->
	<target host="adinfo.aol.com" />
	<!--	cert: misc.blogsmith.aol.com	-->
	<target host="corp.aol.com" />
	<target host="dev.aol.com" />
	<target host="legal.aol.com" />
	<target host="privacy.aol.com" />
	<!--	Cert: misc.blogsmith.aol.com	-->
	<target host="mobile.aol.com" />
	<target host="translogic.aolautos.com" />
	<target host="aolcdn.com" />
	<target host="vivad.aolcdn.com" />
	<target host="www.aolcdn.com" />
	<target host="console.aolonnetwork.com" />
	<target host="blogsmithmedia.com" />
	<target host="www.blogsmithmedia.com" />
	<!--
		Moved to Akamai and broke.
	<target host="mydaily.co.uk" />
	<target host="www.mydaily.co.uk" /-->
	<target host="an.tacoda.net" />


	<securecookie host="^(corp|dev|privacy)\.aol\.com$" name=".*" />
	<securecookie host="^translogic\.aolautos\.com$" name=".*" />
	<securecookie host="^console\.aolonnetwork\.com$" name=".+" />
	<!--securecookie host="^(.*\.)?mydaily\.co\.uk$" name=".*" /-->


	<rule from="^http://(adinfo|corp|dev|legal|mobile|privacy)\.aol\.com/"
		to="https://$1.aol.com/" />

	<rule from="^http://translogic\.aolautos\.com/"
		to="https://translogic.aolautos.com/" />

	<rule from="^https?://(?:vivad|www)?aolcdn\.com/"
		to="https://www.aolcdn.com/"/>

	<rule from="^http://console\.aolonnetwork\.com/"
		to="https://console.aolonnetwork.com/" />

	<!--	- !www doesn't work.
		- Images throw "Service Unavailable".
	
		Two examples of working paths:

			- blogsmithmedia.com/corp.aol.com/media/jquery-fancybox_1-3-1.css
			- blogsmithmedia.com/corp.aol.com/media/screen.css?v=1
										-->
	<rule from="^https?://(?:www\.)?blogsmithmedia\.com/corp\.aol\.com/media/([\w\-\.]+)\.css(\?v=\d)?$"
		to="https://www.blogsmithmedia.com/corp.aol.com/media/$1.css$2" />

	<rule from="^https?://(?:www\.)?blogsmithmedia\.com/translogic\.aolautos\.com/media/"
		to="https://translogic.aolautos.com/media/" />

	<!--	Moved to Akamai and broke: "An error occurred"
	<rule from="^https?://(?:www\.)?mydaily\.co\.uk/"
		to="https://www.mydaily.co.uk/" /-->

	<rule from="^http://an\.tacoda\.net/"
		to="https://an.tacoda.net/" />

</ruleset>
