This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch asf-site-v2
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/asf-site-v2 by this push:
new 58c7ed6b0d Update .htaccess
58c7ed6b0d is described below
commit 58c7ed6b0d5475252d5f25c41672d027180b460d
Author: Albumen Kevin <[email protected]>
AuthorDate: Thu Jul 27 17:14:15 2023 +0800
Update .htaccess
---
.htaccess | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/.htaccess b/.htaccess
index dd31cb5216..1b1a3fdf30 100644
--- a/.htaccess
+++ b/.htaccess
@@ -14,10 +14,7 @@
<IfModule mod_rewrite.c>
RewriteEngine On
- RewriteCond "%{HTTP:Accept-Language}" ^zh
- RewriteCond %{HTTP_HOST} !cn
- RewriteCond %{HTTP_HOST} !static
- RewriteRule ^(.*)$ https://cn.dubbo.apache.org/$1 [L,R=301]
+
RewriteCond %{SERVER_PORT} !^443$
RewriteCond %{HTTP_HOST} !static