port over conf file from old server
[eostre.git] / dbd-autobuild / conf / dbd.conf
1 <VirtualHost *:80>
2         ServerName www0.defectivebydesign.org
3         ServerAlias www.defectivebydesign.org
4         ServerAlias defectivebydesign.com
5         ServerAlias defectivebydesign.net
6         ServerAlias www.defectivebydesign.com
7         ServerAlias www.defectivebydesign.net
8         ServerAlias dbd.fsf.org
9         ServerAlias defectivebydesign.org
10         ServerAdmin webmaster@fsf.org
11         ### redirect to same domain name, but HTTPS. required for HSTS  
12         RewriteEngine On
13         RewriteCond %{HTTPS} !=on
14         RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
15 </VirtualHost>
16
17 <VirtualHost *:443>
18         ServerName www0.defectivebydesign.org
19         ServerAlias defectivebydesign.com
20         ServerAlias defectivebydesign.net
21         ServerAlias www.defectivebydesign.com
22         ServerAlias www.defectivebydesign.net
23         ServerAlias dbd.fsf.org
24         ServerAlias defectivebydesign.org
25         ServerAdmin webmaster@fsf.org
26         RedirectMatch permanent (.*) https://www.defectivebydesign.org$1
27 </VirtualHost>
28
29 <VirtualHost *:443>
30         ServerName www.defectivebydesign.org
31         ServerAdmin webmaster@fsf.org
32 </VirtualHost>
33