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
13 RewriteCond %{HTTPS} !=on
14 RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
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
30 ServerName www.defectivebydesign.org
31 ServerAdmin webmaster@fsf.org
34 <IfModule mod_status.c>
36 # Allow server status reports generated by mod_status,
37 # with the URL of http://servername/server-status
38 # Uncomment and change the ".example.com" to allow
39 # access from other hosts.
41 <Location /server-status>
42 SetHandler server-status
43 Require host 127.0.0.1 74.94.156.210
47 RedirectPermanent /node/9 http://www.defectivebydesign.org/join
48 RedirectPermanent /feed.xml /rss.xml
50 # Cf. RT #716003. Ward, 2011-11-30
51 RedirectPermanent /user/register https://crm.fsf.org/civicrm/profile/create?gid=36&reset=1
53 # Cf. RT #839159. Ward, 2013-07-09
54 RedirectPermanent /what_is_drm http://www.defectivebydesign.org/what_is_drm_digital_restrictions_management
57 #k054 RT #1044876 2015-09-09
58 RedirectPermanent /donate https://my.fsf.org/civicrm/contribute/transact?reset=1&id=40
59 RedirectPermanent /no-drm-in-html5 https://my.fsf.org/civicrm/profile/create?gid=183&reset=1
62 Options FollowSymLinks
65 ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
66 <Directory "/usr/lib/cgi-bin">
68 Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
72 # Possible values include: debug, info, notice, warn, error, crit,
76 CustomLog /var/log/apache2/www.defectivebydesign.org-access.log combined
77 ErrorLog /var/log/apache2/www.defectivebydesign.org-error.log
81 Alias /doc/ "/usr/share/doc/"
82 <Directory "/usr/share/doc/">
83 Options Indexes MultiViews FollowSymLinks
86 Require host 127.0.0.0/255.0.0.0 ::1/128
89 <FilesMatch "\.(ico|pdf|jpe?g|png|gif|js|css)$">
91 ExpiresDefault "access plus 1 month"
96 ExpiresDefault "access plus 5 minutes"
99 # broken links to /en/printable, etc
101 RewriteRule ^/en/(.*) /$1 [R]
103 RewriteRule ^/amazon-kindle-swindle\. /amazon-kindle-swindle [R]
106 Redirect /day http://www.defectivebydesign.org/dayagainstdrm/2019
107 RewriteRule ^/dayagainstdrm/?$ http://www.defectivebydesign.org/dayagainstdrm/2019