airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject [airflow-site] 28/30: Setup redirects from old docs urls to new
Date Wed, 27 Nov 2019 19:12:12 GMT
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 <kamil.gabryjelski@gmail.com>
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"


Mime
View raw message