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 18:56:51 UTC

[nifi-site] branch main-staging updated: 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


The following commit(s) were added to refs/heads/main-staging by this push:
     new 2a179bf  NIFI-9802 Added RedirectMatch for component documentation
2a179bf is described below

commit 2a179bf287924fe5c06c9e3d8169820b7f1063d6
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..c47678f 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 ^/docs/nifi-docs/components/org.apache.nifi/([^/]+)/[^/]+/(.*) "/docs/nifi-docs/components/org.apache.nifi/$1/1.16.3/$2"
+
 RewriteEngine on
 # Switch http to https
 RewriteCond     %{HTTPS} !=on