Apache HTTP Server Version 2.4
Description: | Group authorizations based on host (name or IP address) |
---|---|
Status: | Base |
Module Identifier: | authz_host_module |
Source File: | mod_authz_host.c |
Compatibility: | The forward-dns provider was added in 2.4.19 |
The authorization providers implemented by mod_authz_host
are
registered using the Require
directive. The directive can be referenced within a
<Directory>
,
<Files>
,
or <Location>
section
as well as .htaccess
files to control access to particular parts of the server.
Access can be controlled based on the client hostname or IP address.
In general, access restriction directives apply to all
access methods (GET
, PUT
,
POST
, etc). This is the desired behavior in most
cases. However, it is possible to restrict some methods, while
leaving other methods unrestricted, by enclosing the directives
in a <Limit>
section.