You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2024/02/02 01:40:12 UTC

(dubbo-website) branch master updated: Update .htaccess

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

albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 8e2e07c4d5c Update .htaccess
8e2e07c4d5c is described below

commit 8e2e07c4d5c0413c6a4961726d5566051b2741b0
Author: Albumen Kevin <jh...@gmail.com>
AuthorDate: Fri Feb 2 09:40:06 2024 +0800

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

diff --git a/.htaccess b/.htaccess
index 116914f6f57..f7e73133f20 100644
--- a/.htaccess
+++ b/.htaccess
@@ -18,21 +18,21 @@
   RewriteCond %{HTTP_HOST} !cn
   RewriteCond %{HTTP_HOST} !static
   RewriteCond %{HTTP_HOST} !dubbo-
-  RewriteRule ^(.*)$ https://cn.dubbo.apache.org/$1 [L,R=301]
+  RewriteRule ^(.*)$ https://cn.dubbo.apache.org/$1 [L,R=302]
 
   RewriteCond %{SERVER_PORT} !^443$
   RewriteCond %{HTTP_HOST} !static
   RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
 
   RewriteCond "%{HTTP:Accept-Language}" ^zh [NC]
-  RewriteRule ^/?(index\.html)?$ "/zh-cn/index.html" [L,R=301]
+  RewriteRule ^/?(index\.html)?$ "/zh-cn/index.html" [L,R=302]
 
-  RewriteRule ^/?(index\.html)?$ "/en/index.html" [L,R=301]
+  RewriteRule ^/?(index\.html)?$ "/en/index.html" [L,R=302]
 
   RewriteCond "%{HTTP:Accept-Language}" ^zh [NC]
-  RewriteRule ^/?faq/?([\w\-/]+)?$ "/zh-cn/overview/mannual/java-sdk/faq/$1" [L,R=301]
+  RewriteRule ^/?faq/?([\w\-/]+)?$ "/zh-cn/overview/mannual/java-sdk/faq/$1" [L,R=302]
 
-  RewriteRule ^/?faq/?([\w\-/]+)?$ "/en/docs3-v2/java-sdk/faq/$1" [L,R=301]
+  RewriteRule ^/?faq/?([\w\-/]+)?$ "/en/docs3-v2/java-sdk/faq/$1" [L,R=302]
 
-  RewriteRule ^/?zh/([\s\S]*)?$ "/zh-cn/$1" [L,R=301]
+  RewriteRule ^/?zh/([\s\S]*)?$ "/zh-cn/$1" [L,R=302]
 </IfModule>