Answer the question
In order to leave comments, you need to log in
.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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question