From a1b74f4cafd0a3795c0eed92f4bcf855ea4f36fc Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Mon, 23 Mar 2015 21:56:21 +0000 Subject: [PATCH] and we try to make listspam a little less. --- roles/httpd/templates/mailman-proxy.conf.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/httpd/templates/mailman-proxy.conf.j2 b/roles/httpd/templates/mailman-proxy.conf.j2 index 8c422b04a1..edb74d329c 100644 --- a/roles/httpd/templates/mailman-proxy.conf.j2 +++ b/roles/httpd/templates/mailman-proxy.conf.j2 @@ -1,3 +1,9 @@ + + RewriteEngine on + RewriteCond %{REQUEST_METHOD} GET + RewriteRule ^/mailman/subscribe/(.*) / [R] + + ProxyPass {{ iconpath }} {{ proxyurl }}/icons ProxyPassReverse {{ iconpath }} {{ proxyurl }}/icons ProxyPass {{ path }} {{ proxyurl }}/mailman