IIS7: HTTP->HTTPS Cleanly

前端 未结 6 1092
轮回少年
轮回少年 2020-12-04 06:32

Is there a clean way to redirect all attempts to going to an HTTP:// version of a site to its HTTPS:// equivalent?

6条回答
  •  既然无缘
    2020-12-04 07:02

    I think the cleanest way is as described here on IIS-aid.com. It's web.config only and so if you change server you don't have to remember all the steps you went through with the 403.4 custom error page or other special permissions, it just works.

    
      
        
          
            
              
                
                  
                
                
            
          
        
      
    
    

提交回复
热议问题