<ruleset name="Gandi">
  <target host="gandi.net" />
  <target host="*.gandi.net" />

  <rule from="^http://(?:www\.)?gandi\.net/" to="https://www.gandi.net/"/>
  <rule from="^http://(en|es)\.gandi\.net/([^?#]*)(?:\?([^#]+))?(#.*)?$" to="https://www.gandi.net/$2?lang=$1&#x26;$3$4" />
  <rule from="^http://uk\.gandi\.net/([^?#]*)(?:\?([^#]+))?(#.*)?$" to="https://www.gandi.net/$1?lang=en&#x26;$2$3" />
  <rule from="^http://(blog|cal|wiki)\.gandi\.net/" to="https://$1.gandi.net/"/>

  <securecookie host="^(?:(?:blog|cal|en|es|uk|wiki|www)\.)?gandi\.net$" name=".*" />
</ruleset>
