D
D
Doniyor Mamatkulov2018-02-03 00:44:33
htaccess
Doniyor Mamatkulov, 2018-02-03 00:44:33

.htaccess POST GET settings?

Hello!
How to configure .htaccess so that the site can only be accessed using the POST method? All others (in particular GET) should throw an Access denied error
. I did this, it doesn't work:

RewriteCond %{REQUEST_METHOD} POST
RewriteRule ^ / [F]

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey, 2018-02-03
@doniyorbekm

<Limit GET HEAD> 
Deny from all 
</limit>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question