RewriteCond %{HTTP_HOST} ^dtmuban\.com$ [NC] RewriteRule ^(.*)$ https://www.mbkfw.com/$1 [L,R=301]
如想强制开启 SSL 加(意于 301重定向)
RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^(.*)?$ https://%{SERVER_NAME}/$1 [L,R=301]
RewriteCond %{HTTP_HOST} ^dtmuban\.com$ [NC] RewriteRule ^(.*)$ https://www.mbkfw.com/$1 [L,R=301]
RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^(.*)?$ https://%{SERVER_NAME}/$1 [L,R=301]
小黑 服务器相关2020-06-17
小黑 服务器相关2019-05-07
小黑 程序相关 12016-09-26