Skip to content

Commit

Permalink
Redirect old domain to TLP domain
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouxinyu committed Oct 9, 2017
1 parent 2b7aacd commit b68ac99
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# initialization code - put only once at the beginning of .htaccess
RewriteCond %{HTTPS} =on
RewriteRule ^(.*)$ - [env=proto:https]
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ - [env=proto:http]

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !rocketmq.apache.org$ [NC]
RewriteRule ^(.*)$ %{ENV:proto}://rocketmq.apache.org/$1 [L,R=301]

0 comments on commit b68ac99

Please sign in to comment.