Repository: kafka-site
Updated Branches:
  refs/heads/asf-site a7c3675d3 -> 391c25edb


Don't apply the docs rewrite rule to protocol.html since it is meant to be 
standalone.


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

Branch: refs/heads/asf-site
Commit: 391c25edba109b640005f696e11de3e6b3e46e7d
Parents: a7c3675
Author: Ewen Cheslack-Postava <m...@ewencp.org>
Authored: Wed Feb 1 17:01:43 2017 -0800
Committer: Ewen Cheslack-Postava <m...@ewencp.org>
Committed: Wed Feb 1 17:01:43 2017 -0800

----------------------------------------------------------------------
 .htaccess | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka-site/blob/391c25ed/.htaccess
----------------------------------------------------------------------
diff --git a/.htaccess b/.htaccess
index 4b3664d..64e998e 100644
--- a/.htaccess
+++ b/.htaccess
@@ -7,4 +7,5 @@ Redirect 301 /design.html /documentation#design
 RewriteRule ^/?(\d+)/documentation(\.html)? - [S=3]
 RewriteRule ^/?(\d+)/javadoc - [S=2]
 RewriteRule ^/?(\d+)/images/ - [S=1]
+RewriteCond $2 !=protocol
 RewriteRule ^/?(\d+)/([a-z]+)(\.html)? /$1/documentation#$2 [R=302,L,NE]

Reply via email to