From commits-return-3554-archive-asf-public=cust-asf.ponee.io@polygene.apache.org Tue Sep 11 02:14:58 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id D51C218067A for ; Tue, 11 Sep 2018 02:14:57 +0200 (CEST) Received: (qmail 13595 invoked by uid 500); 11 Sep 2018 00:14:57 -0000 Mailing-List: contact commits-help@polygene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@polygene.apache.org Delivered-To: mailing list commits@polygene.apache.org Received: (qmail 13586 invoked by uid 99); 11 Sep 2018 00:14:56 -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; Tue, 11 Sep 2018 00:14:56 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 9460CDFE60; Tue, 11 Sep 2018 00:14:56 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: niclas@apache.org To: commits@polygene.apache.org Date: Tue, 11 Sep 2018 00:14:57 -0000 Message-Id: <25edb604550d46389c910810378182c0@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [2/2] polygene-website git commit: Permanent redirect to httpS Permanent redirect to httpS Project: http://git-wip-us.apache.org/repos/asf/polygene-website/repo Commit: http://git-wip-us.apache.org/repos/asf/polygene-website/commit/49a59596 Tree: http://git-wip-us.apache.org/repos/asf/polygene-website/tree/49a59596 Diff: http://git-wip-us.apache.org/repos/asf/polygene-website/diff/49a59596 Branch: refs/heads/asf-site Commit: 49a595963d58b41c8c7f5d3955b6787b459cb071 Parents: 2f3fa6e Author: niclas Authored: Tue Sep 11 08:14:17 2018 +0800 Committer: niclas Committed: Tue Sep 11 08:14:17 2018 +0800 ---------------------------------------------------------------------- content/.htaccess | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/polygene-website/blob/49a59596/content/.htaccess ---------------------------------------------------------------------- diff --git a/content/.htaccess b/content/.htaccess index 8f4d81e..8839c7e 100644 --- a/content/.htaccess +++ b/content/.htaccess @@ -1,3 +1,8 @@ +# Rewrite to SSL/HTTPS +RewriteEngine On +RewriteCond %{HTTPS} !=on +RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] + Redirect 301 /content/ / Redirect 301 /1.0/ /java/1.0/ Redirect 301 /1.2/ /java/1.2/