Never been to DZone Snippets before?

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

About this user

Schalk Neethling www.volume4.com

« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS 

Redirect all HTTP requests to HTTPS with ISAPI Rewrite

To redirect all HTTP requests to HTTPS with ISAPI Rewrite you can use the following rewriting rules in your httpd.ini file:

# redirect all http requests  to https
RewriteCond  %HTTPS (?!on).*
RewriteCond Host: (.*)
RewriteRule (.*) https\://$1$2 [I,RP]


Thanks to Ivan Uzunov
« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS