ucms 301 ssl 设置443

admin 3月前 239


RewriteEngine On

RewriteBase /

RewriteCond %{SCRIPT_FILENAME} !-f

RewriteCond %{SCRIPT_FILENAME} !-d

RewriteRule ^(.*)$ index.php [L]

RewriteCond %{SERVER_PORT} !^443$

RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R=301]


欢迎联系本站长QQ:3216572
最新回复 (0)
返回