From 2eed3d8489b900383cc8d93a02d5fd0c8775440e Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Tue, 12 Jul 2022 00:12:55 +0300 Subject: [PATCH] mailman: redact list entries pending moderator review --- cookbooks/mailman/templates/default/apache.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cookbooks/mailman/templates/default/apache.erb b/cookbooks/mailman/templates/default/apache.erb index d2c0aab91..0f0e9a959 100644 --- a/cookbooks/mailman/templates/default/apache.erb +++ b/cookbooks/mailman/templates/default/apache.erb @@ -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$ + Options Indexes FollowSymLinks AllowOverride None -- 2.39.5