我正在使用以下 httaccess 内容,强制重写 url 以使用 https 而不是 http
RewriteEngine on
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.mydomain.com/$1 [L]
但它总是得到,页面没有正确重定向
Firefox has detected that the server is redirecting the request for this address
in a way that will never complete.
This problem can sometimes be caused by disabling or refusing to accept
cookies.
我使用了许多其他解决方案,但总是得到这个......