]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mailman/templates/default/apache.erb
mailman: redact list entries pending moderator review
[chef.git] / cookbooks / mailman / templates / default / apache.erb
index d2c0aab91a71b8093c341a8137d3feaa8c970d3d..0f0e9a9598ef243c4157886e5bc7ce4db7c4653c 100644 (file)
@@ -58,6 +58,9 @@
   RedirectMatch ^/$ /listinfo
   RedirectMatch ^/cgi-bin/mailman/(.*)$ /$1
 
+  # Redact list archive entries pending moderator review
+  RedirectMatch 451 ^/pipermail/talk/2022-July/(087645|087647)\.html$
+
   <Directory /var/lib/mailman/archives/>
          Options Indexes FollowSymLinks
     AllowOverride None