I have nothing to do research recently https
I use Apache2 winserver2003. After installing the certificate, I found that the Apache configuration file must go to port 80, which means that my 80 virtual machine cannot be shut down. I opened a 443 port so that visitors can rwirte to the htaccess file based on port 80. https
I don’t think it’s a waste of emotion. I have to go twice in a row to access the main site
I would like to ask if there is any good method to directly go to https when opening the website
Can’t.
When typing
www.oo.xx
, the browser will definitely look for port 80 by default, which means that the real address accessed by the browser is:When typing
https://www.oo.xx
, the browser’s default access address is:Conclusion:
而且,其他端口的 :80 和 :443 部分是不会隐藏的。
Method 1: When entering the URL, add https in front of it
Method 2: 301 redirect, so as long as you go to one side and come back later, the browser and Google will automatically add it for you, so you don’t have to go around in circles.
As for those who insist on accessing port 80, wouldn’t it be better to redirect them rather than deny access?