Thursday, May 22, 2008

Auto redirect HTTP to HTTPS (SSL)

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

No comments: