<!--
	Problematic subdomains:

		- ^	(cert only matches www)

-->
<ruleset name="Indymedia.org" platform="cacert">
  <target host="indymedia.org" />
  <target host="*.indymedia.org" />
  <target host="indymedia.org.uk" />
  <target host="*.indymedia.org.uk" />
  <target host="northern-indymedia.org" />
  <target host="*.northern-indymedia.org" />

<!--
 This is a ruleset for the https-everywhere extension for firefox.
 for more info see https://www.eff.org/https-everywhere

 to install install the extension put this file in
  ~/.mozilla/your.profile/HTTPSEverywhereUserRules
-->
<!-- 2010/07/14 Version 0.1 chekov(at-sign)riseup.net -->
<!--
 scope of this document:
  indymedia.org based imcs and infrastrucure
  it also includes the indymedia.org.uk and the northern-indymedia.org ans northernindymedia.org domains
  discuss this document at the im-tech list from lists.indymedia.org
  not including indymedia.us, indymedia.org.il and the like

 2010-06-23 report on tested sites:
 == working ==
 "global"
 volunteer, irc, chat, lists
 radio, docs, mir
 biotech, video, keys

 linksunten

 == failed ==
 ambazonia|austin|beirut|bergstedt|blackcat|bulgaria|canarias|chiapas|
 colorado|dc|dl1\.video|hm|hudsonmohawk|jakarta|korea|laplana|lille1|mail\.se
 |minneapolis|mke|nettlau|newsreal|nycap|old\.estrecho|ottawa|perth|pl|
 rochester|romania|rous|russia|shiva|sweden|twincities|victoria|wmass|worcester|www1\.mexico|mexico|www3\.ch

 print, satellite, translations
 india, italia
-->

  <!-- global -->
  <rule from="^http://(?:www\.)?indymedia\.org/" to="https://www.indymedia.org/"/>

  <!-- exclusion for infrastructure -->
  <exclusion pattern="^http://(?:www\.)?(?:print|translations|satellite)\.indymedia\.org/"/>

  <!-- exclusion for imcs -->

  <exclusion pattern="^http://(?:www\.)?(?:de|pr|india|italia|beirut)\.indymedia\.org/"/>

  <exclusion pattern="^http://(?:ambazonia|atlanta|austin|beirut|bergstedt|blackcat|bulgaria|canarias|chiapas|colorado|dc|dl1\.video|hm|hudsonmohawk|jakarta|korea|laplana|lille1|mail\.se|minneapolis|mke|nettlau|newsreal|nycap|old\.estrecho|ottawa|perth|pl|rochester|romania|rous|russia|shiva|sweden|twincities|victoria|wmass|worcester|(?:www(1)?\.)?mexico|www3\.ch)\.indymedia\.org/"/>
  <exclusion pattern="^http://(?:media[12]?\.argentina|buscador\.argentina)\.indymedia\.org/"/>
  <exclusion pattern="^http://(?:(?:dev\.)?boston)\.indymedia\.org/"/>
  <exclusion pattern="^http://(?:(?:www2?\.)?brasil|brazil)\.indymedia\.org/"/>
  <exclusion pattern="^http://(?:chicago|chicago2|www0\.chicago|dev\.chicago)\.indymedia\.org/"/>
  <exclusion pattern="^http://(?:de|media[12]?\.de|www[23]\.de|www[23]\.germany)\.indymedia\.org/"/>
  <exclusion pattern="^http://(?:(?:www[12]\.)?istanbul|media2?\.istanbul|bagimsiz-istanbul|istanbul\.bbm)\.indymedia\.org/"/>
  <exclusion pattern="^http://(?:(?:publish\.)?sandiego)\.indymedia\.org/"/>

  <!-- domains with www prefix -->
  <rule from="^http://www\.([^/:@\.]+)\.indymedia\.org/" to="https://www.$1.indymedia.org/"/>

  <!-- doamins without www as prefix -->
  <rule from="^http://([^/:@\.]+)\.indymedia\.org/" to="https://$1.indymedia.org/"/>

  <!-- indymedia.org.uk -->
  <rule from="^http://indymedia\.org\.uk/" to="https://indymedia.org.uk/"/>
  <rule from="^http://(london|notts|sheffield)\.indymedia\.org\.uk/" to="https://$1.indymedia.org.uk/"/>
  <rule from="^http://www\.(london|notts|sheffield)\.indymedia\.org\.uk/" to="https://www.$1.indymedia.org.uk/"/>

  <!-- northern-indymedia.org -->
<!--
https same as http: www.northern-indymedia.org, www.northern-indymedia.org , northern-indymedia.org, m.northern-indymedia.org
					mobi.northern-indymedia.org, mobile.northern-indymedia.org, wap.northern-indymedia.org
https differs http: mob.northern-indymedia.org, joinin.northern-indymedia.org, radio.northern-indymedia.org
					indyzines.northern-indymedia.org, sol.northern-indymedia.org, list.northern-indymedia.org
					lists.northern-indymedia.org, mailinglist.northern-indymedia.org
-->
  <rule from="^http://northern-indymedia\.org/" to="https://northern-indymedia.org/"/>
  <rule from="^http://(www|m|mobi|mobile|wap)\.northern-indymedia\.org/" to="https://$1.northern-indymedia.org/"/>
  <!-- northernindymedia.org -->
  <rule from="^http://(www\.)?northernindymedia\.org/" to="https://$1northern-indymedia.org/"/>

</ruleset>
