Loading

Sunday, August 2, 2009

Require SSL mod_rewrite apache

Require SSL using mod_rewrite under Apache in linux

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

No comments:

Post a Comment