kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From guozh...@apache.org
Subject kafka-site git commit: add rewrite rule for streams
Date Wed, 07 Dec 2016 00:52:46 GMT
Repository: kafka-site
Updated Branches:
  refs/heads/K4498-separate-streams-page [created] 233ea4ad0


add rewrite rule for streams


Project: http://git-wip-us.apache.org/repos/asf/kafka-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka-site/commit/233ea4ad
Tree: http://git-wip-us.apache.org/repos/asf/kafka-site/tree/233ea4ad
Diff: http://git-wip-us.apache.org/repos/asf/kafka-site/diff/233ea4ad

Branch: refs/heads/K4498-separate-streams-page
Commit: 233ea4ad04b3104796809fb3fc5910843c0a14c7
Parents: 33c99ca
Author: Guozhang Wang <wangguoz@gmail.com>
Authored: Tue Dec 6 16:52:33 2016 -0800
Committer: Guozhang Wang <wangguoz@gmail.com>
Committed: Tue Dec 6 16:52:33 2016 -0800

----------------------------------------------------------------------
 .htaccess | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka-site/blob/233ea4ad/.htaccess
----------------------------------------------------------------------
diff --git a/.htaccess b/.htaccess
index 4b3664d..c3e260a 100644
--- a/.htaccess
+++ b/.htaccess
@@ -4,7 +4,11 @@ AddType text/html .html
 AddHandler server-parsed .html
 Redirect 301 /design.html /documentation#design
 
+RewriteRule ^/?(\d+)/documentation#streams_([a-z]+)(\.html)? - [S=4]
 RewriteRule ^/?(\d+)/documentation(\.html)? - [S=3]
 RewriteRule ^/?(\d+)/javadoc - [S=2]
 RewriteRule ^/?(\d+)/images/ - [S=1]
 RewriteRule ^/?(\d+)/([a-z]+)(\.html)? /$1/documentation#$2 [R=302,L,NE]
+
+RewriteRule ^/?(\d+)/documentation#streams_([a-z]+)(\.html)? /$1/documentation/streams#$2
[R=302,L,NE]
+RewriteRule ^/documentation#streams_([a-z]+)(\.html)? /$1/documentation/streams#$2 [R=302,L,NE]
\ No newline at end of file


Mime
View raw message