<!--
	Problematic hosts:

		- segpaychat.com *
		- www.segpaychat.com *
		- www.segpaycs.com *

	* Mismatched

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

	<!--	Direct rewrites:
				-->
	<target host="segpay.com"/>
	<target host="cs.segpay.com"/>
	<target host="my.segpay.com"/>
	<target host="sa.segpay.com"/>
	<target host="secure2.segpay.com"/>
	<target host="www.segpay.com"/>

	<target host="segpaycs.com"/>

	<!--	Complications:
				-->
	<target host="segpaychat.com"/>
	<target host="www.segpaychat.com"/>
	<target host="www.segpaycs.com"/>


	<!--	Redirect drops path, args,
		and forward slash:
					-->
	<rule from="^http://(?:www\.)?segpaychat\.com/.*"
		to="https://cs.segpay.com/chat.html"/>

		<test url="http://segpaychat.com//" />
		<test url="http://www.segpaychat.com//" />

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

	<rule from="^http:"
		to="https:" />

</ruleset>
