Name
allow from env
Synopsis
allow from env=variablename ...
directory, .htaccess
The allow
from
env
directive controls access by the existence of
a named
environment variable. For instance:
BrowserMatch ^KnockKnock/2.0 let_me_in <Directory /docroot> order deny,allow deny from all allow from env=let_me_in </Directory>
Access by a browser called KnockKnock v2.0 sets an environment
variable let_me_in
,which in
turn triggersallow
from
.
Get Apache: The Definitive Guide, 3rd 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.