forked from ruby/www.ruby-lang.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
redirect.conf_
44 lines (38 loc) · 3 KB
/
redirect.conf_
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
rewrite ^/ja/20030611\.html$ /ja/downloads permanent;
rewrite ^/(en|ja)/install\.html$ /ja/downloads permanent;
rewrite ^/ja/install\.cgi$ /ja/downloads? permanent;
rewrite ^/cgi-bin/cvsweb\.cgi/?$ http://svn.ruby-lang.org/ permanent;
rewrite ^/admin$ https://github.com/ruby/www.ruby-lang.org permanent;
# contents inconsistently 2013-05-15
rewrite ^/(en|ja)/(LICENSE|license).txt$ http://www.ruby-lang.org/en/about/license.txt;
rewrite ^/ja/old-man/.*$ http://doc.ruby-lang.org/ja/? permanent;
rewrite ^/ja/man/.*$ http://doc.ruby-lang.org/ja/ permanent;
rewrite ^/zh_TW$ /zh_tw permanent;
rewrite ^/zh_TW/(.*)$ /zh_tw/$1 permanent;
rewrite ^/pl/spolecznosc/listy-mailingowe(.*)$ /pl/community/mailing-lists$1 permanent;
rewrite ^/pl/spolecznosc/grupy-uzytkownikow(.*)$ /pl/community/user-groups$1 permanent;
rewrite ^/pl/spolecznosc/blogi(.*)$ /pl/community/weblogs$1 permanent;
rewrite ^/pl/spolecznosc(.*)$ /pl/community$1 permanent;
rewrite ^/pl/dokumentacja/ruby-w-20-minut(.*)$ /pl/documentation/quickstart$1 permanent;
rewrite ^/pl/dokumentacja/ruby-a-inne-jezyki-programowania/ruby-a-(.*)$ /pl/documentation/ruby-from-other-languages/to-ruby-from-$1 permanent;
rewrite ^/pl/dokumentacja/ruby-a-inne-jezyki-programowania(.*)$ /pl/documentation/ruby-from-other-languages$1 permanent;
rewrite ^/pl/dokumentacja/udane-wdrozenia(.*)$ /pl/documentation/success-stories$1 permanent;
rewrite ^/pl/dokumentacja(.*)$ /pl/documentation$1 permanent;
rewrite ^/pt/noticias-recentes$ /pt/news permanent;
rewrite ^/pt/noticias-recentes/(.*)$ /pt/news/$1 permanent;
rewrite ^/pt/feeds/noticias.rss$ /pt/feeds/news.rss permanent;
rewrite ^/pt/sobre-o-ruby(.*)$ /pt/about$1 permanent;
rewrite ^/pt/comunidade/conferencias-de-ruby(.*)$ /pt/community/conferences$1 permanent;
rewrite ^/pt/comunidade/listas-de-correio/instrucoes-de-subscricao-manual(.*)$ /pt/community/mailing-lists/manual-instructions$1 permanent;
rewrite ^/pt/comunidade/listas-de-correio(.*)$ /pt/community/mailing-lists$1 permanent;
rewrite ^/pt/comunidade/nucleo-de-ruby(.*)$ /pt/community/ruby-core$1 permanent;
rewrite ^/pt/comunidade/grupos-de-utilizadores(.*)$ /pt/community/user-groups$1 permanent;
rewrite ^/pt/comunidade/weblogs(.*)$ /pt/community/weblogs$1 permanent;
rewrite ^/pt/comunidade(.*)$ /pt/community$1 permanent;
rewrite ^/pt/documentacao/ruby-a-partir-de-outras-linguagens/para-ruby-a-partir-de-c-e-c-mais-mais(.*)$ /pt/documentation/ruby-from-other-languages/to-ruby-from-c-and-c-$1 permanent;
rewrite ^/pt/documentacao/ruby-a-partir-de-outras-linguagens/para-ruby-a-partir-de-(.*)$ /pt/documentation/ruby-from-other-languages/to-ruby-from-$1 permanent;
rewrite ^/pt/documentacao/ruby-a-partir-de-outras-linguagens(.*)$ /pt/documentation/ruby-from-other-languages$1 permanent;
rewrite ^/pt/documentacao/historias-de-sucesso(.*)$ /pt/documentation/success-stories$1 permanent;
rewrite ^/pt/documentacao(.*)$ /pt/documentation$1 permanent;
rewrite ^/pt/bibliotecas/top-de-projectos-ruby(.*)$ /pt/libraries/top-projects$1 permanent;
rewrite ^/pt/bibliotecas(.*)$ /pt/libraries$1 permanent;