zeppelin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject svn commit: r1747450 - in /incubator/zeppelin/site: .htaccess docs/latest
Date Wed, 08 Jun 2016 20:23:39 GMT
Author: moon
Date: Wed Jun  8 20:23:39 2016
New Revision: 1747450

URL: http://svn.apache.org/viewvc?rev=1747450&view=rev
Log:
[ZEPPELIN-955] Redirect docs/0.6.0-incubating-SNAPSHOT to docs/0.6.0-SNAPSHOT/

Added:
    incubator/zeppelin/site/.htaccess
Removed:
    incubator/zeppelin/site/docs/latest

Added: incubator/zeppelin/site/.htaccess
URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/.htaccess?rev=1747450&view=auto
==============================================================================
--- incubator/zeppelin/site/.htaccess (added)
+++ incubator/zeppelin/site/.htaccess Wed Jun  8 20:23:39 2016
@@ -0,0 +1,10 @@
+RewriteEngine On
+
+# redirect 0.6.0-xxxx to 0.6.0-SNAPSHOT
+RewriteRule ^/?docs/0.6.0(?!-SNAPSHOT).*/(.*) /docs/0.6.0-SNAPSHOT/$2  [R=301,L,NE]
+
+# redirect 0.5.[056]-xxxx to 0.5.[056]-incubating
+RewriteRule ^/?docs/(0.5.[056])(?!-incubating).*/(.*) /docs/$1-incubating/$3  [R=301,L,NE]
+
+# rewrite docs/latest to latest stable release
+RewriteRule ^/?docs/latest/(.*) /docs/0.5.6-incubating/$1  [PT]



Mime
View raw message