allow from env
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
.