Blocking visitors by http method using LimitExcept Apache directive

Posted on 29-03-2017 by Nadir Latif


The LimitExcept directive can be used in Apache configuration files. It is used to block visitors based on http method.

The parameters to the LimitExcept directive is a space separated list of http methods that will be allowed. The content of the directive is a list of access control statements. e.g order allow, deny. deny from all etc. For example:

Require valid-user