apache-ultimate-bad-bot-blocker icon indicating copy to clipboard operation
apache-ultimate-bad-bot-blocker copied to clipboard

[BUG] unnecessary rules

Open some-code-developer opened this issue 1 year ago • 0 comments

This file:

https://github.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/blob/master/_htaccess_versions/htaccess-mod_rewrite.txt#L15

The last two rules referes to spambot but spambot is nowhere to be found in rule number 1.

I do not think there is any need to include

For Apache 2.2 Use

<IfModule !mod_authz_core.c> <IfModule mod_authz_host.c> Order allow,deny Allow from all Deny from env=spambot </IfModule> </IfModule>

For Apache 2.4 Use

Require all granted Require not env spambot

some-code-developer avatar Feb 01 '24 08:02 some-code-developer