3337dee2 |
1 | <VirtualHost *:80> |
2 | ServerName rotten-apple.org |
3 | ServerAlias www.rotten-apple.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 rotten-apple.org |
14 | ServerAlias www.rotten-apple.org |
15 | |
16 | #Redirect / https://www.defectivebydesign.org/apple |
17 | Redirect / https://www.fsf.org/campaigns/apple-patents |
18 | |
19 | Include /etc/apache2/sites-available/www.defectivebydesign.org-ssl-common.conf |
20 | |
21 | </VirtualHost> |