Posted By

Roshambo on 08/09/08


Tagged

modrewrite ssl https


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

vali29


Force HTTPS with mod_rewrite


 / Published in: Apache
 

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

Report this snippet  

You need to login to post a comment.