Forcing HTTPS over HTTP

后端 未结 4 867
广开言路
广开言路 2021-01-23 21:06

So I want to force the user to access the https version of my page rather than the http. And according to this post all I have to do is this:

RewriteEngine On 
R         


        
4条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-23 21:44

    Your site can be vulnerable if you're redirecting from http to https. Take a look at this for some more information on that.

    http://www.thoughtcrime.org/software/sslstrip/

提交回复
热议问题