You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ex...@apache.org on 2022/07/19 19:10:12 UTC
[nifi-site] 01/01: NIFI-9802 Added RedirectMatch for component documentation
This is an automated email from the ASF dual-hosted git repository.
exceptionfactory pushed a commit to branch main-staging
in repository https://gitbox.apache.org/repos/asf/nifi-site.git
commit 6cef4035b8589705bd16bdd60c2e389513835def
Author: exceptionfactory <ex...@apache.org>
AuthorDate: Tue Jul 19 13:56:42 2022 -0500
NIFI-9802 Added RedirectMatch for component documentation
---
static/.htaccess | 3 +++
1 file changed, 3 insertions(+)
diff --git a/static/.htaccess b/static/.htaccess
index 4e4b6f8..d287058 100644
--- a/static/.htaccess
+++ b/static/.htaccess
@@ -8,6 +8,9 @@ AddType application/owl+xml .owl
AddType text/trig .trig
AddType application/n-quads .nq
+# Redirect component documentation to latest version
+RedirectMatch 302 ^/docs/nifi-docs/components/org\.apache\.nifi/([^/]+)/[^/]+/(.*) "https://%{HTTP_HOST}/docs/nifi-docs/components/org.apache.nifi/$1/1.16.3/$2"
+
RewriteEngine on
# Switch http to https
RewriteCond %{HTTPS} !=on