<!--

	Hosts may take a long time to respond.

	Other CIMB Group rulesets:
		- CIMB-Malaysia.xml
		- CIMB-Singapore.xml
		- CIMB-Indonesia.xml
		- CIMB-Cambodia.xml

	Non-functional domain:
		- (www.)cimbthai.com		(Mismatch hostname, CN: www.beatbanking.com, beatbanking.com)

-->
<ruleset name="CIMB Thailand">

	<target host=    "cimbclicks.in.th" />
	<target host="www.cimbclicks.in.th" />
	<target host=    "ebanking.cimbthai.com" />
	<target host="www.ebanking.cimbthai.com" />
	<target host=    "ibanking.cimbthai.com" />
	<target host="www.ibanking.cimbthai.com" />
	<target host=    "bizchannel.cimbthai.com" />
	<target host="www.bizchannel.cimbthai.com" />
	<target host=       "cimbsecurities.co.th" />
	<target host=   "www.cimbsecurities.co.th" />
	<target host="itrade.cimbsecurities.co.th" />

	<securecookie host="^www\.cimbclicks\.in\.th$" name=".+" />
	<!-- Excluding www.cimbthai.com -->
	<securecookie host="^www\.(ebanking|ibanking|bizchannel)\.cimbthai\.com$" name=".+" />
	<securecookie host="^.*\.cimbsecurities\.co\.th$" name=".+" />

	<!-- could not resolve host -->
	<rule from="^http://cimbclicks\.in\.th/"
		to="https://www.cimbclicks.in.th/" />

	<rule from="^http://(ebanking|ibanking|bizchannel)\.cimbthai\.com/"
		to="https://www.$1.cimbthai.com/" />

	<rule from="^http://cimbsecurities\.co\.th/"
		to="https://www.cimbsecurities.co.th/" />

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

</ruleset>
