Redirect all HTTP requests to HTTPS with ISAPI Rewrite
# redirect all http requests to https RewriteCond %HTTPS (?!on).* RewriteCond Host: (.*) RewriteRule (.*) https\://$1$2 [I,RP]
Thanks to Ivan Uzunov
DZone Snippets > volume4 > ISAPI
12382 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Schalk Neethling www.volume4.com
# redirect all http requests to https RewriteCond %HTTPS (?!on).* RewriteCond Host: (.*) RewriteRule (.*) https\://$1$2 [I,RP]