D
D
Dwellss2017-01-22 15:42:57
htaccess
Dwellss, 2017-01-22 15:42:57

Why Limit GET POST HEAD might not work in htaccess?

For some reason, the well-known code gives a 403 error

SetEnvIfNoCase User-Agent .*ia_archiver.* bad_bot
<Limit GET POST HEAD>
Order Allow,Deny
Allow from all
Deny from env=bad_bot
</Limit>

What can Apache be missing?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dwellss, 2017-01-22
@Dwellss

I realized that htaccess already had the "Order deny, allow" directive above :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question