nader's thinkery

Apache Redirect NON-SSL (http) to SSL (https)

Apache Redirect NON-SSL (http) to SSL (https)

apache redirect https ssl Jul 30, 2013
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}