X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=drupal-automake-generic%2Fconf%2Fdbd.conf;fp=drupal-automake-generic%2Fconf%2Fdbd.conf;h=81a6895a8d58c94e8dc317b5d6a957a87320cfba;hb=8b2413e8255a9c904975d2a980d2a76262cd3b0f;hp=0000000000000000000000000000000000000000;hpb=e29d3a456b71d5070120ebf93fa39b8e64f839b3;p=eostre.git
diff --git a/drupal-automake-generic/conf/dbd.conf b/drupal-automake-generic/conf/dbd.conf
new file mode 100644
index 0000000..81a6895
--- /dev/null
+++ b/drupal-automake-generic/conf/dbd.conf
@@ -0,0 +1,127 @@
+#
+
+ ServerName www0.defectivebydesign.org
+ ServerAlias www.defectivebydesign.org
+ ServerAlias defectivebydesign.com
+ ServerAlias defectivebydesign.net
+ ServerAlias www.defectivebydesign.com
+ ServerAlias www.defectivebydesign.net
+ ServerAlias dbd.fsf.org
+ ServerAlias defectivebydesign.org
+ ServerAdmin webmaster@fsf.org
+ ### redirect to same domain name, but HTTPS. required for HSTS
+ RewriteEngine On
+ RewriteCond %{HTTPS} !=on
+ RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
+
+
+
+ ServerName www0.defectivebydesign.org
+ ServerAlias defectivebydesign.com
+ ServerAlias defectivebydesign.net
+ ServerAlias www.defectivebydesign.com
+ ServerAlias www.defectivebydesign.net
+ ServerAlias dbd.fsf.org
+ ServerAlias defectivebydesign.org
+ ServerAdmin webmaster@fsf.org
+ RedirectMatch permanent (.*) https://www.defectivebydesign.org$1
+
+
+
+ ServerName www.defectivebydesign.org
+ ServerAdmin webmaster@fsf.org
+
+#
+
+#
+# Possible values include: debug, info, notice, warn, error, crit,
+# alert, emerg.
+LogLevel warn
+ServerSignature On
+#
+
+# if we have mod_status, use it
+
+ #
+ # 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
+
+
+
+#
+Redirect /day http://www.defectivebydesign.org/dayagainstdrm/2019
+Redirect ^/dayagainstdrm/?$ http://www.defectivebydesign.org/dayagainstdrm/2019
+RedirectPermanent /node/9 /join
+RedirectPermanent /feed.xml /rss.xml
+
+# we can't seem to standardize on using underscores or hyphens, so we're going to use both
+# we can probably have apache use regex for this, I'll investigate that next
+# - Eostre, 2020-08-04
+Redirect ^/amazon-kindle-swindle\. /amazon-kindle-swindle
+Redirect ^/amazon_kindle_swindle\. /amazon-kindle-swindle
+Redirect ^/kindle-swindle\. /amazon-kindle-swindle
+Redirect ^/kindle_swindle\. /amazon-kindle-swindle
+
+# 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
+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
+RedirectPermanent /no-drm-in-html-5 https://my.fsf.org/civicrm/profile/create?gid=183&reset=1
+RedirectPermanent /no_drm_in_html5 https://my.fsf.org/civicrm/profile/create?gid=183&reset=1
+RedirectPermanent /no_drm_in_html_5 https://my.fsf.org/civicrm/profile/create?gid=183&reset=1
+
+# broken links to /en/printable, etc
+# Ward, 2010-01-28
+RewriteRule ^/en/(.*) /$1 [R]
+#
+
+#
+# I'm just an intern, fiddling with code written before I could `echo Hello World`
+# - Eostre, 2020-08-04
+
+ Options FollowSymLinks
+ AllowOverride None
+
+#
+
+#
+ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
+
+ AllowOverride None
+ Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
+ Require all granted
+
+#
+
+#
+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"
+
+#