方法一: RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]. 方法二:RewriteCond %{SERVER_PORT} !^443$
確定! 回上一頁