<!--
	Problematic domains:

		- imp.ovh.net	(mismatched, CN: ssl0.ovh.net)

-->
<ruleset name="OVH">

	<!-- global site -->
	<target host="*.ovh.net" />

	<!-- regional sites -->
	<target host="ovh.co.uk" />
	<target host="www.ovh.co.uk" />
	<target host="ovh.com" />
	<target host="www.ovh.com" />
	<target host="ovh.cz" />
	<target host="www.ovh.cz" />
	<target host="ovh.de" />
	<target host="www.ovh.de" />
	<target host="ovh.es" />
	<target host="www.ovh.es" />
	<target host="ovh.lt" />
	<target host="www.ovh.lt" />
	<target host="ovh.nl" />
	<target host="www.ovh.nl" />
	<target host="ovh.ie" />
	<target host="www.ovh.ie" />
	<target host="ovh.it" />
	<target host="www.ovh.it" />
	<target host="ovh.pl" />
	<target host="www.ovh.pl" />
	<target host="ovh.pt" />
	<target host="www.ovh.pt" />
	<target host="ovh.sn" />
	<target host="www.ovh.sn" />
	<target host="ovh-hosting.fi" />
	<target host="www.ovh-hosting.fi" />


	<securecookie host="^(?:.*\.)?ovh(?:-hosting)?\.(?:net|co\.uk|com|cz|de|es|fi|lt|nl|ie|it|pl|pt|sn)$" name=".+" />


	<rule from="^http://(?:www\.)?ovh(-hosting)?\.(co\.uk|com|cz|de|es|fi|lt|nl|ie|it|pl|pt|sn)/"
		to="https://www.ovh$1.$2/" />

	<rule from="^http://(?:imp|webmail)\.ovh\.net/"
		to="https://ssl0.ovh.net/" />

	<rule from="^http://mailconfig\.ovh\.net/"
		to="https://mailconfig.ovh.net/" />

	<!--	- 1: doesn't exist
		- 4: self-signed
		- 8: times out
		- 9: 7's cert
		- 16: reset
					-->
	<rule from="^http://ssl([023567]|1[0-5])\.ovh\.net/"
		to="https://ssl$1.ovh.net/" />

</ruleset>
