Return to Snippet

Revision: 7731
at September 13, 2008 23:54 by Roshambo


Updated Code
RewriteEngine on
RewriteCond %{HTTPS} !On
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301]

Revision: 7730
at August 9, 2008 17:28 by Roshambo


Initial Code
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301]

Initial URL

                                

Initial Description

                                

Initial Title
Force HTTPS with mod_rewrite

Initial Tags

                                

Initial Language
Apache