From b6e582d493eff0a008b0450f56aee692907df484 Mon Sep 17 00:00:00 2001 From: eostre Date: Mon, 3 Aug 2020 16:46:02 -0400 Subject: [PATCH] added a bunch of stuff from the old server --- dbd-autobuild/conf/dbd.conf | 74 +++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) diff --git a/dbd-autobuild/conf/dbd.conf b/dbd-autobuild/conf/dbd.conf index 55e337f..8e73770 100644 --- a/dbd-autobuild/conf/dbd.conf +++ b/dbd-autobuild/conf/dbd.conf @@ -31,3 +31,77 @@ ServerAdmin webmaster@fsf.org + + # + # Allow server status reports generated by mod_status, + # with the URL of http://servername/server-status + # Uncomment and change the ".example.com" to allow + # access from other hosts. + # + + SetHandler server-status + Require host 127.0.0.1 74.94.156.210 + + + + RedirectPermanent /node/9 http://www.defectivebydesign.org/join + RedirectPermanent /feed.xml /rss.xml + + # Cf. RT #716003. Ward, 2011-11-30 + RedirectPermanent /user/register https://crm.fsf.org/civicrm/profile/create?gid=36&reset=1 + + # Cf. RT #839159. Ward, 2013-07-09 + RedirectPermanent /what_is_drm http://www.defectivebydesign.org/what_is_drm_digital_restrictions_management + + + #k054 RT #1044876 2015-09-09 + RedirectPermanent /donate https://my.fsf.org/civicrm/contribute/transact?reset=1&id=40 + RedirectPermanent /no-drm-in-html5 https://my.fsf.org/civicrm/profile/create?gid=183&reset=1 + + + Options FollowSymLinks + AllowOverride None + + ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ + + AllowOverride None + Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch + Require all granted + + + # Possible values include: debug, info, notice, warn, error, crit, + # alert, emerg. + LogLevel warn + + CustomLog /var/log/apache2/www.defectivebydesign.org-access.log combined + ErrorLog /var/log/apache2/www.defectivebydesign.org-error.log + + ServerSignature On + + Alias /doc/ "/usr/share/doc/" + + Options Indexes MultiViews FollowSymLinks + AllowOverride None + + Require host 127.0.0.0/255.0.0.0 ::1/128 + + + + ExpiresActive On + ExpiresDefault "access plus 1 month" + + + + ExpiresActive On + ExpiresDefault "access plus 5 minutes" + + + # broken links to /en/printable, etc + # Ward, 2010-01-28 + RewriteRule ^/en/(.*) /$1 [R] + + RewriteRule ^/amazon-kindle-swindle\. /amazon-kindle-swindle [R] + + +Redirect /day http://www.defectivebydesign.org/dayagainstdrm/2019 +RewriteRule ^/dayagainstdrm/?$ http://www.defectivebydesign.org/dayagainstdrm/2019 -- 2.25.1