<ruleset name="JSC VTB Bank (partial)" default_off="expired, mismatch">

	<target host="vtb.ru"/>
	<!--	* for cross-domain cookie	-->
	<target host="*.vtb.ru"/>
	<!--	cert: www.vtb.ru	-->
	<target host="vtbrussia.ru"/>
	<!--	* for cross-domain cookie	-->
	<target host="*.vtbrussia.ru"/>

	<securecookie host="^\.vtb(russia)?\.ru$" name=".*"/>

	<!--	cert doesn't match .com
		pages are different from .ru	-->
	<rule from="^http://www\.vtb\.com/(bitrix/(components|images|js|templates)|upload)/"
		to="https://www.vtb.ru/$1/"/>

	<!--	cert doesn't match !www		-->
	<rule from="^http://(?:www\.)?vtb\.ru/"
		to="https://www.vtb.ru/"/>

</ruleset>
