你是否在验证时修改了n次.htaccess
文件之后还是这帮情况?
那么,你需要这么做:
RewriteEngine On RewriteBase / RewriteCond %{SERVER_PORT} !^443$ RewriteCond %{HTTP_HOST} ^xxx.domain.com RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
你是否在验证时修改了n次.htaccess
文件之后还是这帮情况?
那么,你需要这么做:
RewriteEngine On RewriteBase / RewriteCond %{SERVER_PORT} !^443$ RewriteCond %{HTTP_HOST} ^xxx.domain.com RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]