<!--	Buckets at:

		- s3.amazonaws.com/capture-cdn/
			- Equivalent to d7v0k4dt27zlp.cloudfront.net
		- s3.amazonaws.com/janrain.quilt/
			- Equivalent to d3hmp0045zy3cs.cloudfront.net
		- s3.amazonaws.com/janrain.ui/
		- s3.amazonaws.com/static.rpxnow.com/
			- Equivalent to docj27ko03fnu.cloudfront.net

		- d29usylhdk1xyu.cloudfront.net

			- widget-cdn.rpxnow.com


	Nonfunctional:

		- janrain.andculture.cc		(over https shows Hatchbck Web "Launching soon" page)
		- developers.janrain.com	(times out)
		- (www.)janrain.com		(ditto)

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

	<target host="*.janrain.com"/>
	<target host="cdn.quilt.janrain.com" />
	<target host="janraincapture.com"/>
	<target host="*.janraincapture.com"/>
	<target host="*.myopenid.com"/>
	<target host="rpxnow.com"/>
	<target host="*.rpxnow.com" />


	<securecookie host="^(community|support)\.janrain\.com$" name=".*" />
	<securecookie host="^dashboard-login\.janraincapture\.com$" name=".*"/>
	<securecookie host="^(.*\.)?rpxnow\.com$" name=".*" />


	<!--	support is equivalent to janrain.zendesk.com, but cert is valid.	-->
	<rule from="^http://(community|(dashboard-)?login|support)\.janrain\.com/"
		to="https://$1.janrain.com/"/>

	<rule from="^http://(dashboard-login\.|www\.)?janraincapture\.com/"
		to="https://$1janraincapture.com/"/>

	<!--	Cert is for (*.)actonsoftware.com
		Example: info.janrain.com/acton/attachment/1205/f-0005/0/-/-/-/-/file.pdf	-->
	<rule from="^http://info\.janrain\.com/"
		to="https://actonsoftware.com/" />

	<rule from="^http://cdn\.quilt\.janrain\.com/"
		to="https://s3.amazonaws.com/janrain.quilt/" />

	<rule from="^http://(\d+)\.myopenid\.com/"
		to="https://$1.myopenid.com/"/>

	<rule from="^http://(?:cdn|static)\.rpxnow\.com/"
		to="https://s3.amazonaws.com/static.rpxnow.com/" />

	<rule from="^https?://widget-cdn\.rpxnow\.com/"
		to="https://d29usylhdk1xyu.cloudfront.net/" />

	<!--	Clients have unique subdomains	-->
	<rule from="^http://(\w+\.)?rpxnow\.com/"
		to="https://$1rpxnow.com/"/>

</ruleset>
