Syntax: allow from host host ...
Context: directory, .htaccess
Override: Limit
Status: Base
Module: mod_access
The allow directive affects which hosts can access a given directory. Host is one of the following:
allExample:
allow from .ncsa.uiuc.edu
All hosts in the specified domain are allowed access.
Note that this compares whole components; bar.edu
would not match foobar.edu.
See also deny, order, and BrowserMatch.
Syntax: allow from env=variablename
Context: directory, .htaccess
Override: Limit
Status: Base
Module: mod_access
Compatibility: Apache 1.2 and
above
The allow from env directive controls access to a directory by the existence (or non-existence) of an environment variable.
Example:
BrowserMatch ^KnockKnock/2.0 let_me_in
<Directory /docroot>
order deny,allow
deny from all
allow from env=let_me_in
</Directory>
In this case browsers with the user-agent string
KnockKnock/2.0 will be allowed access, and all others will be
denied.
See also deny from env and order.