<!--
	For other Amazon coverage, see Amazon.xml.


	CDN buckets:

		- associates-amazon.s3.amazonaws.com


	Nonfunctional domains:

		- affiliate-blog.amazon.de	(hosted on Typepad)
		- cls.assoc-amazon.co.uk


	Certs also cover:

		- ws.amazon.cn


	amazonassociates.typepad.com


	Problematic domains:

		- rcm-jp.amazon.co.jp *
		- rcm-uk.amazon.co.uk *
		- rcm-de.amazon.de *

	* Expired 2013-08-23


	Fully covered domains:

		- amazon.co.uk subdomains:

			- completion
			- payments

-->
<ruleset name="Amazon Associates">

	<target host="affiliate-program.amazon.com" />
	<target host="astore.amazon.com" />
	<target host="pda-bes.amazon.com" />
	<target host="rcm.amazon.com" />
	<target host="rcm-images.amazon.com" />
	<target host="sellercentral.amazon.com" />
	<target host="ws.amazon.*" />
	<target host="ws.amazon.co.*" />
	<target host="completion.amazon.co.uk" />
	<target host="payments.amazon.co.uk" />
	<target host="rcm-uk.amazon.co.uk" />
	<target host="sellercentral.amazon.co.uk" />
	<target host="partnernet.amazon.de" />
	<target host="assoc-amazon.*" />
	<target host="wms.assoc-amazon.*" />
	<target host="www.assoc-amazon.*" />
	<target host="assoc-amazon.co.uk" />
	<target host="*.assoc-amazon.co.uk" />


	<rule from="^http://ws\.amazon\.(ca|co\.jp|com|co\.uk|de|fr)/"
		to="https://ws.amazon.$1/" />

	<rule from="^http://(affiliate-program|astore|pda-bes|rcm|sellercentral)\.amazon\.com/"
		to="https://$1.amazon.com/" />

	<rule from="^https?://rcm-images\.amazon\.com/"
		to="https://images-na.ssl-images-amazon.com/" />

	<rule from="^http://(completion|payments|rcm-uk|sellercentral)\.amazon\.co\.uk/"
		to="https://$1.amazon.co.uk/" />

	<rule from="^http://partnernet\.amazon\.de/"
		to="https://partnernet.amazon.de/" />

	<!--	.co.jp doesn't exist.
					-->
	<rule from="^http://wms\.assoc-amazon\.(ca|com|co\.uk|de|fr)/"
		to="https://wms.assoc-amazon.$1/" />

	<!--	- Cert only matches www
		- .co.jp doesn't exist
					-->
	<rule from="^https?://(?:www\.)?assoc-amazon\.(ca|com|co\.uk|de|fr)/"
		to="https://www.assoc-amazon.$1/" />

</ruleset>
