]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mailman/templates/default/apache.erb
mailman: redact list entries per moderator request
[chef.git] / cookbooks / mailman / templates / default / apache.erb
index d2c0aab91a71b8093c341a8137d3feaa8c970d3d..1e4917d637c71f8b7957f64733ed67079b5399ec 100644 (file)
@@ -58,6 +58,9 @@
   RedirectMatch ^/$ /listinfo
   RedirectMatch ^/cgi-bin/mailman/(.*)$ /$1
 
+  # Redact list archive entries per request of talk moderators
+  RedirectMatch 451 ^/pipermail/talk/2022-July/(087645|087647)\.html$
+
   <Directory /var/lib/mailman/archives/>
          Options Indexes FollowSymLinks
     AllowOverride None
@@ -81,7 +84,7 @@
   ScriptAlias /subscribe /usr/lib/cgi-bin/mailman/subscribe
   ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/
 
-  <Location ~ "/pipermail/([^/]+)/(2004|2005|2006|2007|2008|2009|2010|2011|2012|2013|2014|2015|2016|2017|2018)">
+  <Location ~ "/pipermail/([^/]+)/(2004|2005|2006|2007|2008|2009|2010|2011|2012|2013|2014|2015|2016|2017|2018|2019|2020|2021)">
     ExpiresActive On
     ExpiresDefault "access plus 180 days"
   </Location>