makefile: delete old code about installing old apache sites
[eostre.git] / dbd-autobuild / files / dayagainstdrm.org.conf
CommitLineData
3337dee2 1<VirtualHost *:80>
2 ServerName dayagainstdrm.org
3 ServerAlias www.dayagainstdrm.org
4
5 ### redirect to same domain name, but HTTPS. required for HSTS
6 RewriteEngine On
7 RewriteCond %{HTTPS} !=on
8 RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
9
10</VirtualHost>
11
12<VirtualHost *:443>
13 ServerName dayagainstdrm.org
14 ServerAlias www.dayagainstdrm.org
15 ServerAdmin webmaster@fsf.org
16
17 Header set Access-Control-Allow-Origin "my.fsf.org"
18
19 RewriteEngine On
20
21 RewriteRule ^/$ https://defectivebydesign.org/dayagainstdrm
22 RewriteRule ^/2016$ https://www.defectivebydesign.org/dayagainstdrm/2016
23 RewriteRule ^/2017$ https://www.defectivebydesign.org/dayagainstdrm/2017
24 RewriteRule ^/2018$ https://www.defectivebydesign.org/dayagainstdrm/2018
25 RewriteRule ^/2019$ https://www.defectivebydesign.org/dayagainstdrm/2019
26
27 Include /etc/apache2/sites-available/www.defectivebydesign.org-ssl-common.conf
28
29</VirtualHost>
30