<!--
	CDN buckets:

		- s3.amazonaws.com/c.ooyala.com/
		- ak.c.ooyala.com.edgesuite.net


	Problematic subdomains:

		- ak.c.ooyala.com	(akamai)

-->
<ruleset name="Ooyala (partial)">

	<target host="ooyala.com" />
	<target host="*.ooyala.com" />
		<!--
			https://trac.torproject.org/projects/tor/ticket/7615
							-->
		<exclusion pattern="crossdomain\.xml$" />


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


	<rule from="^http://ooyala\.com/"
		to="https://www.ooyala.com/" />

	<rule from="^http://(ak-c|backlot|cdn-api|extras|info|l|player(?:-ssl)?|www)\.ooyala\.com/"
		to="https://$1.ooyala.com/" />

	<rule from="^http://(?:ak\.)?c\.ooyala\.com/"
		to="https://s3.amazonaws.com/c.ooyala.com/" />

</ruleset>
