Posted By

iTony on 05/13/08


Tagged

htaccess apache security ssl https


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

basicmagic
AshMan
vali29
kubaitis


force SSL in your site


 / Published in: Apache
 

  1. RewriteEngine On
  2. RewriteCond %{SERVER_PORT} 80
  3. RewriteRule ^(.*)$ https://domain.com/$1 [R,L]

Report this snippet  

You need to login to post a comment.