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 21:36:11 UTC

[nifi-site] 01/01: NIFI-9802 Changed documentation redirect to use RewriteRule

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 1e74589931d7a224c86fafb0fdd69749fa5369f1
Author: exceptionfactory <ex...@apache.org>
AuthorDate: Tue Jul 19 16:33:35 2022 -0500

    NIFI-9802 Changed documentation redirect to use RewriteRule
---
 static/.htaccess | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/static/.htaccess b/static/.htaccess
index 2a40ca6..a23bc6a 100644
--- a/static/.htaccess
+++ b/static/.htaccess
@@ -13,6 +13,4 @@ RewriteEngine on
 RewriteCond     %{HTTPS} !=on
 RewriteRule     ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
 
-<LocationMatch "^/docs/nifi-docs/components/org\.apache\.nifi/([^/+])/(!?:1.16.3)/(.*)$">
-  Redirect "https://%{HTTP_HOST}/docs/nifi-docs/components/org.apache.nifi/$1/1.16.3/$2"
-</LocationMatch>
+#RewriteRule ^/docs/nifi-docs/components/org\.apache\.nifi/([^/+])/(!?:1.16.3)/(.*)$ /docs/nifi-docs/components/org.apache.nifi/$1/1.16.3/$2 [L, R]