Name
allow
Synopsis
allowfrom
env
=variable
[Within <Directory>
or
.htaccess]
The allow from env
directive sets whether access to a directory should be granted if a
specific environment variable exists. For example, the following
grants access to the secret
directory if the
client is using Version 5.0 of the
“InternetStar” browser, via a
user-agent string:
BrowserMatch ^InternetStar/5.0 ACCESS_GRANTED <Directory /secret> order deny, allow deny from all allow from env=ACCESS_GRANTED </Directory>
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.