svn commit: r1928925 - spamassassin/trunk/masses/rule-qa/automc

[email protected]
Newsgroups gmane.mail.spam.spamassassin.cvs
Message-ID <175950054276.4116148.4175643613870179476@svn02-us-east.apache.org>
Author: billcole
Date: Fri Oct  3 14:09:02 2025
New Revision: 1928925

Log:
Add .htaccess for RuleQA site

Added:
   spamassassin/trunk/masses/rule-qa/automc/.htaccess

Added: spamassassin/trunk/masses/rule-qa/automc/.htaccess
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ spamassassin/trunk/masses/rule-qa/automc/.htaccess	Fri Oct  3 14:09:02 2025	(r1928925)
@@ -0,0 +1,17 @@
+RewriteEngine On
+  
+  # Broken URI patterns seen from scraper bots
+  RewriteRule /20.*sa-vm.*	/ [F,NC]
+
+  # Requie a CORRECT local referer for costly tasks
+  RewriteCond "%{HTTP_REFERER}" "^$" [OR]
+  RewriteCond "%{HTTP_REFERER}" "sa-vm.apache.org" [NC,OR]
+  RewriteCond "%{HTTP_REFERER}" "bbmass.spamassassin.org" [NC,OR]
+  RewriteCond "%{HTTP_REFERER}" "rsync.spamassassin.org" [NC,OR]
+  RewriteCond "%{HTTP_REFERER}" "buildbot.spamassassin.org" [NC]
+  RewriteRule /20.*(detail|mclog).*$   /   [F,NC]
+
+  # Rude Bot UA
+  RewriteCond "%{HTTP_USER_AGENT}" "Thinkbot" [NC]
+  RewriteRule ".*"  "/" [F]
+
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.