无限星辰工作室-客户无限互联网动力之源

标题: Apache 或 ISAPI_rewrite 3 强制https规则(301) [打印本页]

作者: crx349    时间: 2020-9-29 04:52
标题: Apache 或 ISAPI_rewrite 3 强制https规则(301)
.htaccess文件
  1. RewriteCond %{HTTP_HOST} ^www.xmspace.net [NC]
  2. RewriteCond %{SERVER_PORT} !^443$
  3. RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
复制代码






欢迎光临 无限星辰工作室-客户无限互联网动力之源 (https://www.xmspace.net/) Powered by Discuz! X3.4