import old site configs
[eostre.git] / files / www.defectivebydesign.org.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 dbd.gnu.org
10   #ServerAlias www.stopdrm.org
11   #ServerAlias stopdrm.org
12   ServerAlias defectivebydesign.org
13   ServerAdmin webmaster@fsf.org
14   
15   ### redirect to same domain name, but HTTPS. required for HSTS  
16   RewriteEngine On
17   RewriteCond %{HTTPS} !=on
18   RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
19
20 </VirtualHost>
21
22 <VirtualHost *:443>
23   ServerName www0.defectivebydesign.org
24   ServerAlias defectivebydesign.com
25   ServerAlias defectivebydesign.net
26   ServerAlias www.defectivebydesign.com
27   ServerAlias www.defectivebydesign.net
28   ServerAlias dbd.fsf.org
29   #ServerAlias dbd.gnu.org
30   #ServerAlias www.stopdrm.org
31   #ServerAlias stopdrm.org
32   ServerAlias defectivebydesign.org
33   ServerAdmin webmaster@fsf.org
34
35   Include /etc/apache2/sites-available/www.defectivebydesign.org-ssl-common.conf
36
37   RedirectMatch permanent (.*) https://www.defectivebydesign.org$1
38
39 </VirtualHost>
40
41 <VirtualHost *:443>
42   ServerName www.defectivebydesign.org
43   ServerAdmin webmaster@fsf.org
44
45   Include /etc/apache2/sites-available/www.defectivebydesign.org-ssl-common.conf
46
47   Include /etc/apache2/sites-available/dbd-common.conf
48
49 </VirtualHost>
50