This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
/
.htaccess
106 lines (82 loc) · 8.01 KB
/
.htaccess
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
Options +FollowSymlinks
RewriteEngine on
IndexIgnore *
DirectoryIndex index.html
ErrorDocument 404 /404.html
RewriteCond %{HTTP_HOST} ^ceylon-lang.org$ [OR]
RewriteCond %{HTTP_HOST} ^ceylon.beanvalidation.org$ [OR]
RewriteCond %{HTTP_HOST} ^www.ceylon-lang.org$ [OR]
RewriteCond %{HTTP_HOST} ^staging.ceylon-lang.org$
# Redirect old /documentation links to /documentation/current
RewriteRule ^documentation$ /documentation/current$1
RewriteRule ^documentation/$ /documentation/current$1
RewriteRule ^documentation/index.html$ /documentation/current$1
RewriteRule ^documentation/faq(.*)$ /documentation/current/faq$1
RewriteRule ^documentation/ide(.*)$ /documentation/current/ide$1
RewriteRule ^documentation/introduction(.*)$ /documentation/current/introduction$1
RewriteRule ^documentation/presentation(.*)$ /documentation/current/presentation$1
RewriteRule ^documentation/reference(.*)$ /documentation/current/reference$1
RewriteRule ^documentation/roadmap(.*)$ /documentation/current/roadmap$1
RewriteRule ^documentation/spec(.*)$ /documentation/current/spec$1
RewriteRule ^documentation/tour(.*)$ /documentation/current/tour$1
# Redirect /documentation/current to /documentation/1.3
RewriteRule ^documentation/current(.*)$ /documentation/1.3$1 [L]
# Redirect improper URL for stephane epardaud to correct one
RewriteRule ^blog/authors/styephane-yepardaud(.*)$ /blog/authors/stephane-epardaud$1
# Redirect download links to our download site
RewriteRule ^download/dist/1_0_Milestone1$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-0\.1\.zip" [R=302,L]
RewriteRule ^download/dist/1_0_Milestone1_deb$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-0\.1_0\.1_all\.deb" [R=302,L]
RewriteRule ^download/dist/1_0_Milestone1_rpm$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-0\.1\.0-0\.noarch\.rpm" [R=302,L]
RewriteRule ^download/dist/1_0_Milestone2$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-0\.2\.zip" [R=302,L]
RewriteRule ^download/dist/1_0_Milestone2_deb$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-0\.2_0\.2_all\.deb" [R=302,L]
RewriteRule ^download/dist/1_0_Milestone2_rpm$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-0\.2\.0-0\.noarch\.rpm" [R=302,L]
RewriteRule ^download/dist/1_0_Milestone3$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-0\.3\.zip" [R=302,L]
RewriteRule ^download/dist/1_0_Milestone3_deb$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-0\.3_0\.3_all\.deb" [R=302,L]
RewriteRule ^download/dist/1_0_Milestone3_rpm$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-0\.3\.0-0\.noarch\.rpm" [R=302,L]
RewriteRule ^download/dist/1_0_Milestone3_1$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-0\.3\.1\.zip" [R=302,L]
RewriteRule ^download/dist/1_0_Milestone3_1_deb$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-0\.3\.1_0\.3\.1_all\.deb" [R=302,L]
RewriteRule ^download/dist/1_0_Milestone3_1_rpm$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-0\.3\.1-0\.noarch\.rpm" [R=302,L]
RewriteRule ^download/dist/1_0_Milestone4$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-0\.4\.zip" [R=302,L]
RewriteRule ^download/dist/1_0_Milestone4_deb$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-0\.4_0\.4_all\.deb" [R=302,L]
RewriteRule ^download/dist/1_0_Milestone4_rpm$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-0\.4\.0-0\.noarch\.rpm" [R=302,L]
RewriteRule ^download/dist/1_0_Milestone5$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-0\.5\.zip" [R=302,L]
RewriteRule ^download/dist/1_0_Milestone5_deb$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-0\.5_0\.5_all\.deb" [R=302,L]
RewriteRule ^download/dist/1_0_Milestone5_rpm$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-0\.5\.0-0\.noarch\.rpm" [R=302,L]
RewriteRule ^download/dist/1_0_Milestone6$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-0\.6\.zip" [R=302,L]
RewriteRule ^download/dist/1_0_Milestone6_deb$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-0\.6_0\.6_all\.deb" [R=302,L]
RewriteRule ^download/dist/1_0_Milestone6_rpm$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-0\.6\.0-0\.noarch\.rpm" [R=302,L]
RewriteRule ^download/dist/1_0_Beta$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-0\.6\.1\.zip" [R=302,L]
RewriteRule ^download/dist/1_0_Beta_deb$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-0\.6\.1_0\.6\.1_all\.deb" [R=302,L]
RewriteRule ^download/dist/1_0_Beta_rpm$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-0\.6\.1-1\.noarch\.rpm" [R=302,L]
RewriteRule ^download/dist/1_0_0$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-1\.0\.0\.zip" [R=302,L]
RewriteRule ^download/dist/1_0_0_deb$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-1\.0\.0_1\.0\.0_all\.deb" [R=302,L]
RewriteRule ^download/dist/1_0_0_rpm$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-1\.0\.0-1\.0\.0-0\.noarch\.rpm" [R=302,L]
RewriteRule ^download/dist/1_1_0$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-1\.1\.0\.zip" [R=302,L]
RewriteRule ^download/dist/1_1_0_deb$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-1\.1\.0_1\.1\.0_all\.deb" [R=302,L]
RewriteRule ^download/dist/1_1_0_rpm$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-1\.1\.0-1\.1\.0-1\.noarch\.rpm" [R=302,L]
RewriteRule ^download/dist/1_2_0$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-1\.2\.0\.zip" [R=302,L]
RewriteRule ^download/dist/1_2_0_deb$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-1\.2\.0_1\.2\.0_all\.deb" [R=302,L]
RewriteRule ^download/dist/1_2_0_rpm$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-1\.2\.0-1\.2\.0-0\.noarch\.rpm" [R=302,L]
RewriteRule ^download/dist/1_2_1$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-1\.2\.1\.zip" [R=302,L]
RewriteRule ^download/dist/1_2_1_deb$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-1\.2\.1_1\.2\.1_all\.deb" [R=302,L]
RewriteRule ^download/dist/1_2_1_rpm$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-1\.2\.1-1\.2\.1-1\.noarch\.rpm" [R=302,L]
RewriteRule ^download/dist/1_2_2$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-1\.2\.2\.zip" [R=302,L]
RewriteRule ^download/dist/1_2_2_deb$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-1\.2\.2_1\.2\.2_all\.deb" [R=302,L]
RewriteRule ^download/dist/1_2_2_rpm$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-1\.2\.2-1\.2\.2-0\.noarch\.rpm" [R=302,L]
RewriteRule ^download/dist/1_3_0$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-1\.3\.0\.zip" [R=302,L]
RewriteRule ^download/dist/1_3_0_deb$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-1\.3\.0_1\.3\.0_all\.deb" [R=302,L]
RewriteRule ^download/dist/1_3_0_rpm$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-1\.3\.0-1\.3\.0-0\.noarch\.rpm" [R=302,L]
RewriteRule ^download/dist/1_3_1$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-1\.3\.1\.zip" [R=302,L]
RewriteRule ^download/dist/1_3_1_deb$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-1\.3\.1_1\.3\.1-1_all\.deb" [R=302,L]
RewriteRule ^download/dist/1_3_1_rpm$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-1\.3\.1-1\.3\.1-1\.noarch\.rpm" [R=302,L]
RewriteRule ^download/dist/1_3_2$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-1\.3\.2\.zip" [R=302,L]
RewriteRule ^download/dist/1_3_2_deb$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-1\.3\.2_1\.3\.2-0_all\.deb" [R=302,L]
RewriteRule ^download/dist/1_3_2_rpm$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-1\.3\.2-1\.3\.2-0\.noarch\.rpm" [R=302,L]
RewriteRule ^download/dist/1_3_3$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-1\.3\.3\.zip" [R=302,L]
RewriteRule ^download/dist/1_3_3_deb$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-1\.3\.3_1\.3\.3-0_all\.deb" [R=302,L]
RewriteRule ^download/dist/1_3_3_rpm$ "https\:\/\/downloads\.ceylon-lang\.org\/cli\/ceylon-1\.3\.3-1\.3\.3-0\.noarch\.rpm" [R=302,L]
# Redirect social network links
RewriteRule ^plus$ "https\:\/\/plus\.google\.com\/u\/0\/102481741611133754149" [R=302,L]
RewriteRule ^\+$ "https\:\/\/plus\.google\.com\/u\/0\/102481741611133754149" [R=302,L]
# Redirect user forum to Google Groups
RewriteRule ^community/forum$ "http://groups.google.com/group/ceylon-users" [R=302,L]