On 5/30/21 1:27 AM, en...@jdb.homelinux.net wrote: > > My attempt to block these does not appear to be working. Suggestions > please? > >> RewriteEngine on >> RewriteCond %{REQUEST_METHOD} POST >> RewriteCond "%{HTTP_USER_AGENT}" "^axios" >> RewriteRule ^/mailman//subscribe/ - [F]
I'm not sure why the above doesn't work assuming that you have mod_rewrite enabled. You might try dropping the POST condition and changing the rule to just RewriteRule ^/mailman/ - [F] I doubt you get any legitimate 'non-crawler' type requests from axios agents. -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-le...@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/