Thursday, January 28, 2016

iis 7.5 - URL Rewrite in IIS 7.5 not working



I am trying to redirect all http traffic to https as the site requires SSL.



For example, if someone navigates to http://site.com or http://www.site.com I want to redirect the user to https://www.site.com



Right now the user gets a 403.4 Forbidden error - The page you are trying to access is secured with Secure Sockets Layer (SSL).



I've tried a number of different URL rewrite rules but none of them seem to work. In fact nothing seems to be happening different at all, almost like the module isn't even working properly.




First, is my rule correct? And if so, what else could be preventing this from working properly?



    












Answer













And SSL needs to be off apparently.



Not sure if the and tags are appropriate.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...