How to use the Limit and LimitExcept directives in Apache httpd

Updated -

Limit Directive

The Limit directive is meant to restrict use to the HTTP methods you list. The type of restriction (i.e. user, group, etc) is defined inside of the Limit block.

Example

The example below restricts use of the GET and POST HTTP methods to only "valid users". Only authenticated users can submit GET<...>

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content