Re: FBR: Forward trees from docs-old

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You are correct, updated patch:

commit 9c67c7019b4ea370548ebab4f408b46dc214f243 (HEAD -> master)
Author: Patrick Uiterwijk <patrick@xxxxxxxxxxxxxx>
Date:   Wed Sep 27 17:14:07 2017 +0200

    Redirect old docs urls to docs-old
    
    Signed-off-by: Patrick Uiterwijk <patrick@xxxxxxxxxxxxxx>

diff --git a/roles/fedora-docs/proxy/files/fedora-docs-old.conf b/roles/fedora-docs/proxy/files/fedora-docs-old.conf
new file mode 100644
index 000000000..b5de6d4c8
--- /dev/null
+++ b/roles/fedora-docs/proxy/files/fedora-docs-old.conf
@@ -0,0 +1,124 @@
+Redirect permanent "/af" "https://docs-old.fedoraproject.org/af";
+Redirect permanent "/af_ZA" "https://docs-old.fedoraproject.org/af_ZA";
+Redirect permanent "/aln-AL" "https://docs-old.fedoraproject.org/aln-AL";
+Redirect permanent "/am" "https://docs-old.fedoraproject.org/am";
+Redirect permanent "/ar-SA" "https://docs-old.fedoraproject.org/ar-SA";
+Redirect permanent "/as-IN" "https://docs-old.fedoraproject.org/as-IN";
+Redirect permanent "/ast-ES" "https://docs-old.fedoraproject.org/ast-ES";
+Redirect permanent "/az" "https://docs-old.fedoraproject.org/az";
+Redirect permanent "/bal-PK" "https://docs-old.fedoraproject.org/bal-PK";
+Redirect permanent "/be" "https://docs-old.fedoraproject.org/be";
+Redirect permanent "/bg-BG" "https://docs-old.fedoraproject.org/bg-BG";
+Redirect permanent "/bn-BD" "https://docs-old.fedoraproject.org/bn-BD";
+Redirect permanent "/bn-IN" "https://docs-old.fedoraproject.org/bn-IN";
+Redirect permanent "/bo" "https://docs-old.fedoraproject.org/bo";
+Redirect permanent "/br" "https://docs-old.fedoraproject.org/br";
+Redirect permanent "/brx" "https://docs-old.fedoraproject.org/brx";
+Redirect permanent "/bs-BA" "https://docs-old.fedoraproject.org/bs-BA";
+Redirect permanent "/ca-ES" "https://docs-old.fedoraproject.org/ca-ES";
+Redirect permanent "/cs_CZ" "https://docs-old.fedoraproject.org/cs_CZ";
+Redirect permanent "/cs-CZ" "https://docs-old.fedoraproject.org/cs-CZ";
+Redirect permanent "/cy" "https://docs-old.fedoraproject.org/cy";
+Redirect permanent "/da-DK" "https://docs-old.fedoraproject.org/da-DK";
+Redirect permanent "/de-CH" "https://docs-old.fedoraproject.org/de-CH";
+Redirect permanent "/de-DE" "https://docs-old.fedoraproject.org/de-DE";
+Redirect permanent "/dz" "https://docs-old.fedoraproject.org/dz";
+Redirect permanent "/el-GR" "https://docs-old.fedoraproject.org/el-GR";
+Redirect permanent "/en-GB" "https://docs-old.fedoraproject.org/en-GB";
+Redirect permanent "/en_US" "https://docs-old.fedoraproject.org/en_US";
+Redirect permanent "/en-US" "https://docs-old.fedoraproject.org/en-US";
+Redirect permanent "/eo" "https://docs-old.fedoraproject.org/eo";
+Redirect permanent "/es_ES" "https://docs-old.fedoraproject.org/es_ES";
+Redirect permanent "/es-ES" "https://docs-old.fedoraproject.org/es-ES";
+Redirect permanent "/et-EE" "https://docs-old.fedoraproject.org/et-EE";
+Redirect permanent "/eu_ES" "https://docs-old.fedoraproject.org/eu_ES";
+Redirect permanent "/eu-ES" "https://docs-old.fedoraproject.org/eu-ES";
+Redirect permanent "/fa_IR" "https://docs-old.fedoraproject.org/fa_IR";
+Redirect permanent "/fa-IR" "https://docs-old.fedoraproject.org/fa-IR";
+Redirect permanent "/fi-FI" "https://docs-old.fedoraproject.org/fi-FI";
+Redirect permanent "/fr-FR" "https://docs-old.fedoraproject.org/fr-FR";
+Redirect permanent "/ga" "https://docs-old.fedoraproject.org/ga";
+Redirect permanent "/gl-ES" "https://docs-old.fedoraproject.org/gl-ES";
+Redirect permanent "/gu-IN" "https://docs-old.fedoraproject.org/gu-IN";
+Redirect permanent "/he-IL" "https://docs-old.fedoraproject.org/he-IL";
+Redirect permanent "/hi-IN" "https://docs-old.fedoraproject.org/hi-IN";
+Redirect permanent "/hr_HR" "https://docs-old.fedoraproject.org/hr_HR";
+Redirect permanent "/hr-HR" "https://docs-old.fedoraproject.org/hr-HR";
+Redirect permanent "/hu-HU" "https://docs-old.fedoraproject.org/hu-HU";
+Redirect permanent "/hy" "https://docs-old.fedoraproject.org/hy";
+Redirect permanent "/ia" "https://docs-old.fedoraproject.org/ia";
+Redirect permanent "/id-ID" "https://docs-old.fedoraproject.org/id-ID";
+Redirect permanent "/ilo" "https://docs-old.fedoraproject.org/ilo";
+Redirect permanent "/images" "https://docs-old.fedoraproject.org/images";
+Redirect permanent "/is-IS" "https://docs-old.fedoraproject.org/is-IS";
+Redirect permanent "/it_IT" "https://docs-old.fedoraproject.org/it_IT";
+Redirect permanent "/it-IT" "https://docs-old.fedoraproject.org/it-IT";
+Redirect permanent "/ja_JP" "https://docs-old.fedoraproject.org/ja_JP";
+Redirect permanent "/ja-JP" "https://docs-old.fedoraproject.org/ja-JP";
+Redirect permanent "/ka" "https://docs-old.fedoraproject.org/ka";
+Redirect permanent "/kk" "https://docs-old.fedoraproject.org/kk";
+Redirect permanent "/km" "https://docs-old.fedoraproject.org/km";
+Redirect permanent "/kn-IN" "https://docs-old.fedoraproject.org/kn-IN";
+Redirect permanent "/ko-KR" "https://docs-old.fedoraproject.org/ko-KR";
+Redirect permanent "/ks" "https://docs-old.fedoraproject.org/ks";
+Redirect permanent "/ku" "https://docs-old.fedoraproject.org/ku";
+Redirect permanent "/ky" "https://docs-old.fedoraproject.org/ky";
+Redirect permanent "/la" "https://docs-old.fedoraproject.org/la";
+Redirect permanent "/lo" "https://docs-old.fedoraproject.org/lo";
+Redirect permanent "/lt-LT" "https://docs-old.fedoraproject.org/lt-LT";
+Redirect permanent "/lv-LT" "https://docs-old.fedoraproject.org/lv-LT";
+Redirect permanent "/lv-LV" "https://docs-old.fedoraproject.org/lv-LV";
+Redirect permanent "/mai-IN" "https://docs-old.fedoraproject.org/mai-IN";
+Redirect permanent "/mg" "https://docs-old.fedoraproject.org/mg";
+Redirect permanent "/mk" "https://docs-old.fedoraproject.org/mk";
+Redirect permanent "/ml-IN" "https://docs-old.fedoraproject.org/ml-IN";
+Redirect permanent "/mn" "https://docs-old.fedoraproject.org/mn";
+Redirect permanent "/mr-IN" "https://docs-old.fedoraproject.org/mr-IN";
+Redirect permanent "/ms_MY" "https://docs-old.fedoraproject.org/ms_MY";
+Redirect permanent "/ms-MY" "https://docs-old.fedoraproject.org/ms-MY";
+Redirect permanent "/my" "https://docs-old.fedoraproject.org/my";
+Redirect permanent "/nb-NO" "https://docs-old.fedoraproject.org/nb-NO";
+Redirect permanent "/nds-DE" "https://docs-old.fedoraproject.org/nds-DE";
+Redirect permanent "/ne" "https://docs-old.fedoraproject.org/ne";
+Redirect permanent "/nl-NL" "https://docs-old.fedoraproject.org/nl-NL";
+Redirect permanent "/nn-NO" "https://docs-old.fedoraproject.org/nn-NO";
+Redirect permanent "/no" "https://docs-old.fedoraproject.org/no";
+Redirect permanent "/nso" "https://docs-old.fedoraproject.org/nso";
+Redirect permanent "/oldcontrib" "https://docs-old.fedoraproject.org/oldcontrib";
+Redirect permanent "/oldguides" "https://docs-old.fedoraproject.org/oldguides";
+Redirect permanent "/oldmisc" "https://docs-old.fedoraproject.org/oldmisc";
+Redirect permanent "/oldweb" "https://docs-old.fedoraproject.org/oldweb";
+Redirect permanent "/or-IN" "https://docs-old.fedoraproject.org/or-IN";
+Redirect permanent "/pa-IN" "https://docs-old.fedoraproject.org/pa-IN";
+Redirect permanent "/pl-PL" "https://docs-old.fedoraproject.org/pl-PL";
+Redirect permanent "/pt-BR" "https://docs-old.fedoraproject.org/pt-BR";
+Redirect permanent "/pt-PT" "https://docs-old.fedoraproject.org/pt-PT";
+Redirect permanent "/ro" "https://docs-old.fedoraproject.org/ro";
+Redirect permanent "/ro-RO" "https://docs-old.fedoraproject.org/ro-RO";
+Redirect permanent "/ru_RU" "https://docs-old.fedoraproject.org/ru_RU";
+Redirect permanent "/ru-RU" "https://docs-old.fedoraproject.org/ru-RU";
+Redirect permanent "/si-LK" "https://docs-old.fedoraproject.org/si-LK";
+Redirect permanent "/sk-SK" "https://docs-old.fedoraproject.org/sk-SK";
+Redirect permanent "/sl-SI" "https://docs-old.fedoraproject.org/sl-SI";
+Redirect permanent "/sq-AL" "https://docs-old.fedoraproject.org/sq-AL";
+Redirect permanent "/sr-Latn-RS" "https://docs-old.fedoraproject.org/sr-Latn-RS";
+Redirect permanent "/sr-RS" "https://docs-old.fedoraproject.org/sr-RS";
+Redirect permanent "/sv-SE" "https://docs-old.fedoraproject.org/sv-SE";
+Redirect permanent "/ta_IN" "https://docs-old.fedoraproject.org/ta_IN";
+Redirect permanent "/ta-IN" "https://docs-old.fedoraproject.org/ta-IN";
+Redirect permanent "/te-IN" "https://docs-old.fedoraproject.org/te-IN";
+Redirect permanent "/tg-TJ" "https://docs-old.fedoraproject.org/tg-TJ";
+Redirect permanent "/th" "https://docs-old.fedoraproject.org/th";
+Redirect permanent "/th-TH" "https://docs-old.fedoraproject.org/th-TH";
+Redirect permanent "/tl" "https://docs-old.fedoraproject.org/tl";
+Redirect permanent "/tr-TR" "https://docs-old.fedoraproject.org/tr-TR";
+Redirect permanent "/uk_UA" "https://docs-old.fedoraproject.org/uk_UA";
+Redirect permanent "/uk-UA" "https://docs-old.fedoraproject.org/uk-UA";
+Redirect permanent "/ur-PK" "https://docs-old.fedoraproject.org/ur-PK";
+Redirect permanent "/vi-VN" "https://docs-old.fedoraproject.org/vi-VN";
+Redirect permanent "/wo" "https://docs-old.fedoraproject.org/wo";
+Redirect permanent "/xh" "https://docs-old.fedoraproject.org/xh";
+Redirect permanent "/zh-CN" "https://docs-old.fedoraproject.org/zh-CN";
+Redirect permanent "/zh-HK" "https://docs-old.fedoraproject.org/zh-HK";
+Redirect permanent "/zh-TW" "https://docs-old.fedoraproject.org/zh-TW";
+Redirect permanent "/zu" "https://docs-old.fedoraproject.org/zu";
diff --git a/roles/fedora-docs/proxy/tasks/main.yml b/roles/fedora-docs/proxy/tasks/main.yml
index 99f58ce3f..311b4feac 100644
--- a/roles/fedora-docs/proxy/tasks/main.yml
+++ b/roles/fedora-docs/proxy/tasks/main.yml
@@ -26,6 +26,7 @@
     owner=root group=root mode=0644
   with_items:
   - fedora-docs.conf
+  - fedora-docs-old.conf
   notify:
   - reload proxyhttpd
   tags:
@@ -38,6 +39,7 @@
     owner=root group=root mode=0644
   with_items:
   - fedora-docs.conf
+  - fedora-docs-old.conf
   notify:
   - reload proxyhttpd
   tags:
_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux