Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C168D200C1D for ; Thu, 2 Feb 2017 02:02:48 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id C0167160B5E; Thu, 2 Feb 2017 01:02:48 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3AE91160B46 for ; Thu, 2 Feb 2017 02:02:48 +0100 (CET) Received: (qmail 37249 invoked by uid 500); 2 Feb 2017 01:02:47 -0000 Mailing-List: contact commits-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list commits@kafka.apache.org Received: (qmail 37240 invoked by uid 99); 2 Feb 2017 01:02:47 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2017 01:02:47 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 461C0DFC40; Thu, 2 Feb 2017 01:02:47 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ewencp@apache.org To: commits@kafka.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: kafka-site git commit: Don't apply the docs rewrite rule to protocol.html since it is meant to be standalone. Date: Thu, 2 Feb 2017 01:02:47 +0000 (UTC) archived-at: Thu, 02 Feb 2017 01:02:48 -0000 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 Authored: Wed Feb 1 17:01:43 2017 -0800 Committer: Ewen Cheslack-Postava 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]