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.
Get Webmaster in a Nutshell, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.