<!--
	There's a bucket at s3.amazonaws.com/alexa/.


	CDN buckets:

	- s3.amazonaws.com/com.alexa.pcache/ | d1d024ntqri789.cloudfront.net | d1uki75gjpelap.cloudfront.net
	- s3.amazonaws.com/com.alexametrics.pixel/ | d5nxst8fruw4z.cloudfront.net
	- alexa-sitestats.s3.amazonaws.com | d1loejjcvv1d9m.cloudfront.net
	- d31qbv1cthcecs.cloudfront.net


	Nonfunctional subdomains:

		- traffic *
		- xsltcache *

	* Refused

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

	<target host="alexa.com" />
	<target host="*.alexa.com" />
		<!--
			Rewriting css to AmaonAWS breaks images.
			(images/ points to s3.amazonaws.com/images/)

		<exclusion pattern="^http://pcache.alexa.com/css/" /-->
	<target host="pixel.alexametrics.com" />


	<rule from="^http://(www\.)?alexa\.com/(favicon\.ico|css/|images/|secure/|\w+/wp-content/)"
		to="https://$1alexa.com/$2" />

	<rule from="^http://pcache\.alexa\.com/"
		to="https://d1uki75gjpelap.cloudfront.net/" />

	<rule from="^http://xslt\.alexa\.com/"
		to="https://d1loejjcvv1d9m.cloudfront.net/" />

	<rule from="^http://pixel\.alexametrics\.com/"
		to="https://d5nxst8fruw4z.cloudfront.net/" />

</ruleset>
