]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mailman/templates/default/apache.erb
Change default postgres version for tile servers to 14
[chef.git] / cookbooks / mailman / templates / default / apache.erb
index 8c22b3f1d9f7277d5f8b5113032077bf30e12b23..7b4037c48cbcf734c1efb2f75885a2639dff338d 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
@@ -65,6 +68,7 @@
   </Directory>
 
   Alias /pipermail/ /var/lib/mailman/archives/public/
+  Alias /images/mailman/ /usr/share/images/mailman/
   Alias /images/ /usr/share/images/mailman/
 
   ScriptAlias /admin /usr/lib/cgi-bin/mailman/admin
@@ -80,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)">
+  <Location ~ "/pipermail/([^/]+)/(2004|2005|2006|2007|2008|2009|2010|2011|2012|2013|2014|2015|2016|2017|2018|2019|2020|2021|2022)">
     ExpiresActive On
     ExpiresDefault "access plus 180 days"
   </Location>