Name
<Limit>
Synopsis
<Limit
methods> ... </Limit>
<Limit> is a
sectioning directive that applies to the specified access methods
(GET, POST, etc.). This directive restricts the boundaries of the
access methods specified; if you wish to apply restrictions globally,
omit the Limit directive completely. The start tag
has the following syntax:
<Limit method1 method2 ...>where a method is one of the following:
-
GET Allows clients to retrieve documents and execute scripts with the GET request method. The HEAD method is also restricted when you specify GET.
-
POST Allows clients to use scripts and resources using the POST request method (mostly CGI programs).
-
PUT Allows clients access to documents and resources using the PUT request method.
-
DELETE Allows clients access to documents and resources using the DELETE request method.
-
CONNECT Allows clients access to documents and resources using the CONNECT request method.
-
OPTIONS Allows clients access to documents and resources using the OPTIONS request method.
The order, deny,
allow, and require directives
are the usual inhabitants of the Limit sectioning
directive.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access