apache上http自動跳轉https

修改/etc/httpd/conf/httpd.conf <Directory />     Options FollowSymLinks     AllowOverride All RewriteEngine on RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^(.*)?$ https://%{SERVER_NAME}%{REQUEST_URI}
相關文章
相關標籤/搜索