forked from apache/flink-web
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.htaccess
12 lines (10 loc) · 810 Bytes
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
# redirect rules to prevent old links from breaking
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteRule ^/?docs/0.6-incubating/(.*) https://ci.apache.org/projects/flink/flink-docs-release-0.6/$1 [R=301,L,NE]
RewriteRule ^/?docs/0.7-incubating/(.*) https://ci.apache.org/projects/flink/flink-docs-release-0.7/$1 [R=301,L,NE]
RewriteRule ^/?docs/0.8/(.*) https://ci.apache.org/projects/flink/flink-docs-release-0.8/$1 [R=301,L,NE]
RewriteRule ^/?docs/latest(/.*)? https://ci.apache.org/projects/flink/flink-docs-master$1 [R=301,L,NE]
RewriteRule ^/?docs/stable(/.*)? https://ci.apache.org/projects/flink/flink-docs-release-0.8$1 [R=301,L,NE]
RewriteRule ^/?docs/(.*) https://ci.apache.org/projects/flink/flink-docs-master/$1 [R=301,L,NE]