crx349 发表于 2020-9-29 04:52:33

Apache 或 ISAPI_rewrite 3 强制https规则(301)

.htaccess文件
RewriteCond %{HTTP_HOST} ^www.xmspace.net
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI}
页: [1]
查看完整版本: Apache 或 ISAPI_rewrite 3 强制https规则(301)