This is an automated email from the ASF dual-hosted git repository.
mauriciostekl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite-website.git
The following commit(s) were added to refs/heads/master by this push:
new 8691f5b added back rewrite url per ticket INFRA-21492 (#80)
8691f5b is described below
commit 8691f5b3be89fbc8d44bf290d0ba60f63c57df68
Author: Mauricio Stekl <[email protected]>
AuthorDate: Thu Mar 4 17:12:02 2021 -0300
added back rewrite url per ticket INFRA-21492 (#80)
---
.htaccess | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/.htaccess b/.htaccess
index 2f30edc..73e71c1 100644
--- a/.htaccess
+++ b/.htaccess
@@ -149,6 +149,10 @@ Redirect 301
/releases/latest/javadoc/org/apache/ignite/yarn/class-use/IgnitePro
RewriteEngine On
RewriteBase /
+
+RewriteCond %{HTTP_HOST} ^(www\.)?ignite.incubator.apache.org$
+RewriteRule ^/?(.*)$ https://ignite.apache.org/$1 [L,R=301]
+
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://%{SERVER_NAME}/$1 [R=301,L]