Mixed Content Page: requested an insecure stylesheet error

前端 未结 6 1199
死守一世寂寞
死守一世寂寞 2020-12-29 03:59

I have a website working on it. when i open any page with http:// protocol, every thing is loaded correctly, but when i try to load the page with https protocol, the page lo

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-29 04:17

    Here's your problem:

    RewriteCond %{SERVER_PORT} ^443$
    RewriteRule (.*) http://www.example.com/$1 
    

    You don't allow SSL requests (443 port number is used for HTTPS requests). Try removing these lines.

提交回复
热议问题