dfa92770 |
1 | ### directives for making sure that boycottsony.org, dayagainstdrm.org, and rotten-apple.org redirect to their appropriate pages on DBD |
2 | |
3 | <VirtualHost *:80> |
4 | ServerName boycottsony.org |
5 | ServerAlias www.boycottsony.org |
6 | ### redirect to same domain name, but HTTPS. required for HSTS |
7 | RewriteEngine On |
8 | RewriteCond %{HTTPS} !=on |
9 | RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] |
10 | </VirtualHost> |
11 | |
12 | <VirtualHost *:80> |
13 | ServerName dayagainstdrm.org |
14 | ServerAlias www.dayagainstdrm.org |
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 | </VirtualHost> |
20 | |
21 | <VirtualHost *:80> |
22 | ServerName rotten-apple.org |
23 | ServerAlias www.rotten-apple.org |
24 | ### redirect to same domain name, but HTTPS. required for HSTS |
25 | RewriteEngine On |
26 | RewriteCond %{HTTPS} !=on |
27 | RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] |
28 | </VirtualHost> |
29 | |
30 | <VirtualHost *:443> |
31 | ServerName boycottsony.org |
32 | ServerAlias www.boycottsony.org |
33 | Redirect / https://www.defectivebydesign.org/sony/ |
34 | </VirtualHost> |
35 | |
36 | <VirtualHost *:443> |
37 | ServerName dayagainstdrm.org |
38 | ServerAlias www.dayagainstdrm.org |
39 | Header set Access-Control-Allow-Origin "my.fsf.org" |
40 | RewriteEngine On |
41 | RewriteRule ^/$ https://defectivebydesign.org/dayagainstdrm |
42 | RewriteRule ^/2016$ https://www.defectivebydesign.org/dayagainstdrm/2016 |
43 | RewriteRule ^/2017$ https://www.defectivebydesign.org/dayagainstdrm/2017 |
44 | RewriteRule ^/2018$ https://www.defectivebydesign.org/dayagainstdrm/2018 |
45 | RewriteRule ^/2019$ https://www.defectivebydesign.org/dayagainstdrm/2019 |
46 | </VirtualHost> |
47 | |
48 | <VirtualHost *:443> |
49 | ServerName rotten-apple.org |
50 | ServerAlias www.rotten-apple.org |
51 | Redirect / https://www.fsf.org/campaigns/apple-patents |
52 | </VirtualHost> |