某些版本的Chrome会自动将https添加到我的网站地址中。所以我需要将https重定向到http,因为我没有SSL证书。我想这一点,没有结果:无法将http重定向到http
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} =https
RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>
您是否在负载均衡器后面?我也不认为Chrome正在这样做。这将是数百万网站的混乱是这种情况。 –
另外这可能有助于http://superuser.com/questions/565409/chrome-how-to-stop-redirect-from-http-to-https –