You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ya...@apache.org on 2020/09/12 02:38:42 UTC
[incubator-mxnet] branch master updated: set v1.7 as default
website version (#19120)
This is an automated email from the ASF dual-hosted git repository.
yangshi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new 3240e1e set v1.7 as default website version (#19120)
3240e1e is described below
commit 3240e1eb0c81c07e8d4e76156c84196e09d2703c
Author: Yang Shi <ya...@amazon.com>
AuthorDate: Fri Sep 11 19:37:16 2020 -0700
set v1.7 as default website version (#19120)
---
docs/static_site/src/.htaccess | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/static_site/src/.htaccess b/docs/static_site/src/.htaccess
index 88df937..4df2acf 100644
--- a/docs/static_site/src/.htaccess
+++ b/docs/static_site/src/.htaccess
@@ -22,12 +22,12 @@ RewriteOptions AllowNoSlash
</IfModule>
-# Set default website version to old stable (v1.6)
+# Set default website version to old stable (v1.7)
RewriteCond %{REQUEST_URI} !^/versions/
RewriteCond %{HTTP_REFERER} !mxnet.apache.org
RewriteCond %{HTTP_REFERER} !mxnet.incubator.apache.org
RewriteCond %{HTTP_REFERER} !mxnet.cdn.apache.org
-RewriteRule ^(.*)$ /versions/1.6/$1 [r=307,L]
+RewriteRule ^(.*)$ /versions/1.7/$1 [r=307,L]
# Redirect Chinese visitors to Chinese CDN, temporary solution for slow site speed in China
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^CN$