You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2020/12/03 16:50:39 UTC
[airflow-site] 01/01: Fix broken redirect
This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch fix-broken-redirect
in repository https://gitbox.apache.org/repos/asf/airflow-site.git
commit b1669de96664f68f0f2969e17b41ca74520e4520
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Thu Dec 3 16:50:28 2020 +0000
Fix broken redirect
https://airflow.apache.org/docs redirects to
https://airflow.apache.org/docs/apache-airlfow/stable/
which has a typo and hence 404's
---
landing-pages/site/static/.htaccess | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/landing-pages/site/static/.htaccess b/landing-pages/site/static/.htaccess
index 5b3d64f..f755f9a 100644
--- a/landing-pages/site/static/.htaccess
+++ b/landing-pages/site/static/.htaccess
@@ -1,8 +1,8 @@
RedirectMatch Permanent ^/docs/(stable|1.10.10)/api(\.html)?$ "https://airflow.apache.org/docs/apache-airflow/$1/rest-api-ref"
RedirectMatch Permanent ^/docs/(stable|1.10.10)/(cli|macros)(\.html)?$ "https://airflow.apache.org/docs/apache-airflow/$1/$2-ref"
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|1.10.7|1.10.8|1.10.9|1.10.10)/.*)$ "https://airflow.apache.org/docs/apache-airlfow/$1"
+RedirectMatch Permanent ^/((1.10.1|1.10.2|1.10.3|1.10.4|1.10.5|1.10.6|1.10.7|1.10.8|1.10.9|1.10.10)/.*)$ "https://airflow.apache.org/docs/apache-airflow/$1"
RedirectMatch Permanent ^/((api|changelog|cli|concepts|errors|faq|genindex|http-routingtable|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/apache-airflow/stable/$1"
RedirectMatch Permanent ^/docs/((1.10.1|1.10.2|1.10.3|1.10.4|1.10.5|1.10.6|1.10.7|1.10.8|1.10.9|1.10.10|1.10.11|1.10.12|1.10.13|stable)/.*)$ "https://airflow.apache.org/docs/apache-airlfow/$1"
-Redirect Permanent /objects.inv https://airflow.apache.org/docs/apaache-airflow/stable/objects.inv
+Redirect Permanent /objects.inv https://airflow.apache.org/docs/apache-airflow/stable/objects.inv