You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by gu...@apache.org on 2016/12/07 00:52:46 UTC

kafka-site git commit: add rewrite rule for streams

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 <wa...@gmail.com>
Authored: Tue Dec 6 16:52:33 2016 -0800
Committer: Guozhang Wang <wa...@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