svn commit: r1936281 - spamassassin/trunk/build/automc
[email protected] Fri, 17 Jul 2026 18:51:33 -0000
| Newsgroups | gmane.mail.spam.spamassassin.cvs |
|---|---|
| Message-ID | <178431429396.3972109.7473814846658082825@svn03-he-fi> |
Author: billcole
Date: Fri Jul 17 18:51:33 2026
New Revision: 1936281
Log:
simplify bad-referer exclusion
Modified:
spamassassin/trunk/build/automc/apache2-le-ssl.conf
Modified: spamassassin/trunk/build/automc/apache2-le-ssl.conf
==============================================================================
--- spamassassin/trunk/build/automc/apache2-le-ssl.conf Fri Jul 17 18:45:03 2026 (r1936280)
+++ spamassassin/trunk/build/automc/apache2-le-ssl.conf Fri Jul 17 18:51:33 2026 (r1936281)
@@ -70,7 +70,7 @@ SSLStaplingCache "shmcb:/var/log/apache2
RewriteEngine On
# debugging:
- #LogLevel alert rewrite:trace3
+ LogLevel alert rewrite:trace1
# "%2F" is used to grep rule subsets, allow it
AllowEncodedSlashes On
@@ -94,8 +94,7 @@ SSLStaplingCache "shmcb:/var/log/apache2
RewriteCond "%{HTTP_REFERER}" "bbmass.spamassassin.org" [NC,OR]
RewriteCond "%{HTTP_REFERER}" "rsync.spamassassin.org" [NC,OR]
RewriteCond "%{HTTP_REFERER}" "buildbot.spamassassin.org" [NC]
- RewriteCond "%{QUERY_STRING}" "(detail|mclog|mtime)" [NC]
- RewriteRule ^/20.*$ / [F,NC,L]
+ RewriteRule ^.*/20.*$ - [F,NC,L]
# Serve cached index for all except ourselves (/usr/local/bin/updateRuleqaIndex.sh)
RewriteCond %{REQUEST_URI} ^/$