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 2022/04/14 02:35:13 UTC
[dubbo-website] branch master updated: Revert htaccess changes
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 fadd50b142 Revert htaccess changes
fadd50b142 is described below
commit fadd50b1427a1eb66a60e85278036be1ea6434c2
Author: Albumen Kevin <jh...@gmail.com>
AuthorDate: Thu Apr 14 10:35:10 2022 +0800
Revert htaccess changes
---
.htaccess | 7 -------
1 file changed, 7 deletions(-)
diff --git a/.htaccess b/.htaccess
index f36f1c020c..3ea417b45f 100644
--- a/.htaccess
+++ b/.htaccess
@@ -2,11 +2,4 @@
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
-
-# language starts with ZH
-RewriteCond %{HTTP:Accept-Language} ^zh [NC]
-RewriteRule ^$ /zh/ [L,R=301]
-
-# else redirect to the English version
-RewriteRule ^$ /en/ [L,R=301]
</IfModule>