某些版本的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 –