From commits-return-78161-archive-asf-public=cust-asf.ponee.io@airflow.apache.org Wed Nov 27 19:16:13 2019 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 [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id DE16018069C for ; Wed, 27 Nov 2019 20:16:12 +0100 (CET) Received: (qmail 77301 invoked by uid 500); 27 Nov 2019 19:16:11 -0000 Mailing-List: contact commits-help@airflow.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airflow.apache.org Delivered-To: mailing list commits@airflow.apache.org Received: (qmail 77261 invoked by uid 99); 27 Nov 2019 19:16:10 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Nov 2019 19:16:10 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 6B71F8B692; Wed, 27 Nov 2019 19:16:03 +0000 (UTC) Date: Wed, 27 Nov 2019 19:15:57 +0000 To: "commits@airflow.apache.org" Subject: [airflow-site] 28/30: Setup redirects from old docs urls to new MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: ash@apache.org In-Reply-To: <157488212967.12218.9424072311431185037@gitbox.apache.org> References: <157488212967.12218.9424072311431185037@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: airflow-site X-Git-Refname: refs/heads/asf-site X-Git-Reftype: branch X-Git-Rev: 00ed176e068742100c54ebcd143eb472459486af X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20191127191603.6B71F8B692@gitbox.apache.org> This is an automated email from the ASF dual-hosted git repository. ash pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/airflow-site.git commit 00ed176e068742100c54ebcd143eb472459486af Author: Kamil Gabryjelski AuthorDate: Wed Nov 27 16:41:25 2019 +0100 Setup redirects from old docs urls to new --- .htaccess | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..b4e2c55 --- /dev/null +++ b/.htaccess @@ -0,0 +1,3 @@ +RedirectMatch Permanent ^/((_api|_images|_modules|_sources|_static|howto)/.*)$ "https://airflow.apache.org/docs/stable/$1" +RedirectMatch Permanent ^/((1.10.1|1.10.2|1.10.3|1.10.4|1.10.5|1.10.6)/.*)$ "https://airflow.apache.org/docs/$1" +RedirectMatch Permanent ^/(api|changelog|cli|concepts|errors|faq|genindex|http-routingtable|index|installation|integration|kubernetes|license|lineage|macros|metrics|plugins|privacy_notice|profiling|project|py-modindex|scheduler|search|security|start|timezone|tutorial|ui)(\.html)?$ "https://airflow.apache.org/docs/stable/$1"