<!--
	For problematic rules, see National-Rail-Enquiries-mismatches.xml.


	CDN buckets:

		- s3.amazonaws.com/img.nationalrail.co.uk/

			- permanently redirects
			- Equivalent to d7cizd44vlm94.cloudfront.net

		- js.nationalrail.co.uk.s3.amazonaws.com

			- permanently redirects
			- Equivalent to d2uncb19xzxhzx.cloudfront.net

-->
<ruleset name="National Rail Enquiries (partial)">

	<target host="nationalrail.co.uk" />
	<target host="*.nationalrail.co.uk" />
		<!--
			Redirects to http.
						-->
		<exclusion pattern="^http://ojp\.nationalrail\.co\.uk/service/" />


	<!--	Only a subset of data is also available on d7cizd44vlm94.cloudfront.net
								-->
	<rule from="^http://(?:www\.)?nationalrail\.co\.uk/images/"
		to="https://ojp.nationalrail.co.uk/redesign/default/images/" />

	<!--	Data are also in ojp.nationalrail.co.uk/redesign/default/images/
								-->
	<rule from="^http://img\.nationalrail\.co\.uk/"
		to="https://d7cizd44vlm94.cloudfront.net/" />

	<rule from="^http://js\.nationalrail\.co\.uk/"
		to="https://d2uncb19xzxhzx.cloudfront.net/" />

	<rule from="^http://ojp\.nationalrail\.co\.uk/"
		to="https://ojp.nationalrail.co.uk/" />

</ruleset>
