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 4916221baa Update .htaccess
4916221baa is described below

commit 4916221baa10e3a6463f22362c7a47f8734c03f8
Author: Albumen Kevin <[email protected]>
AuthorDate: Thu Apr 14 10:38:47 2022 +0800

    Update .htaccess
---
 .htaccess | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.htaccess b/.htaccess
index 3ea417b45f..239503a626 100644
--- a/.htaccess
+++ b/.htaccess
@@ -2,4 +2,8 @@
 RewriteEngine On
 RewriteCond %{SERVER_PORT} !^443$
 RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
+
+RewriteCond %{HTTP:Accept-Language} !^zh [NC]
+RewriteRule ^/$ /en [L,R=301]
+
 </IfModule>

Reply via email to