Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] unnecessary rules #196

Open
some-code-developer opened this issue Feb 1, 2024 · 0 comments
Open

[BUG] unnecessary rules #196

some-code-developer opened this issue Feb 1, 2024 · 0 comments

Comments

@some-code-developer
Copy link

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>

Order allow,deny
Allow from all
Deny from env=spambot

For Apache 2.4 Use

Require all granted Require not env spambot
@some-code-developer some-code-developer changed the title [BUG] unnecessary rule [BUG] unnecessary rules Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant