<ruleset name="Banque Cantonale du Valais">
    <target host="bcvs.ch" />
    <target host="*.bcvs.ch" />
    <target host="mybcvs.ch" />
    <target host="*.mybcvs.ch" />

    <securecookie host="^(.*\.)?bcvs\.ch$" name=".+" />

    <rule from="^https?://bcvs\.ch/"
        to="https://www.bcvs.ch/"/>
    <rule from="^http://([^/:@]+)?\.bcvs\.ch/"
        to="https://$1.bcvs.ch/" />
    <rule from="^https?://mybcvs\.ch/"
        to="https://www.mybcvs.ch/"/>
    <rule from="^http://([^/:@]+)?\.mybcvs\.ch/"
        to="https://$1.mybcvs.ch/" />
</ruleset>
