This is an automated email from the ASF dual-hosted git repository.

casion pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/incubator-linkis-website.git


The following commit(s) were added to refs/heads/asf-staging by this push:
     new 7560021b4 Update .htaccess
7560021b4 is described below

commit 7560021b46d691d7ec896e9f6e3677ccdef548e2
Author: Casion <[email protected]>
AuthorDate: Thu May 26 21:07:20 2022 +0800

    Update .htaccess
---
 .htaccess | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/.htaccess b/.htaccess
index 6c6f30cad..ae8cd1e2e 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,5 +1,9 @@
+Options +FollowSymLinks
 RewriteEngine On
 
-RewriteRule   ^older/(.*)$ 1.1.0/$1 [L]
+# Redirect to the latest release
+RewriteRule ^latest$ 
https://nightlies.apache.org/directory/apacheds/2.0.0.AM26/ [QSA,L]
+RewriteRule ^latest/(.*)$ 
https://nightlies.apache.org/directory/apacheds/2.0.0.AM26/$1 [QSA,L]
 
-RewriteRule ^/docs/older/(.*) https://linkis.apache.org/docs/1.0.3/$1  
[R=301,L,NE]
+# Redirect everything else
+RewriteRule ^(.*)$ https://nightlies.apache.org/directory/apacheds/$1 [QSA,L]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to