Mercurial > repos > other > Puppet
view modules/website/files/conf.extra/no-com.conf @ 0:956e484adc12
Initial public release of Puppet configs
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 16 Aug 2014 19:47:38 +0000 |
parents | |
children |
line wrap: on
line source
RewriteEngine On RewriteCond %{HTTP_HOST} ^(.*)\.com$ [NC] RewriteCond %{HTTPS} =off RewriteRule (.*) http://%1.co.uk$1 [R=301,L] RewriteCond %{HTTP_HOST} ^(.*)\.com$ [NC] RewriteCond %{HTTPS} =on RewriteRule (.*) https://%1.co.uk$1 [R=301,L]