Mercurial > repos > other > Puppet
changeset 153:cf3ee1fb3f10 puppet-3.6
Remove unused Apache config files
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 28 Mar 2017 20:51:06 +0100 |
parents | ff7ebe76c6e9 |
children | 3c978b965881 |
files | modules/website/files/conf.extra/no-com.conf modules/website/files/conf.extra/no-www.conf |
diffstat | 2 files changed, 0 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/modules/website/files/conf.extra/no-com.conf Tue Mar 28 20:50:17 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,9 +0,0 @@ -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] \ No newline at end of file
--- a/modules/website/files/conf.extra/no-www.conf Tue Mar 28 20:50:17 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,9 +0,0 @@ -RewriteEngine On - -RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] -RewriteCond %{HTTPS} =off -RewriteRule (.*) http://%1$1 [R=301,L] - -RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] -RewriteCond %{HTTPS} =on -RewriteRule (.*) https://%1$1 [R=301,L]