June 1999
Intermediate to advanced
540 pages
21h 39m
English
deny
deny
from
env
=variable
[Within <Directory> or .htaccess]
The deny from env directive sets whether access to a directory
should be denied if a specific environment variable exists. For example,
access to the secret directory is denied if the client is
using Version 4.0 of the “InternetStar” browser, via a user-agent string:
BrowserMatch ^InternetStar/4.0 ACCESS_DENIED <Directory /secret> order deny, allow deny from env=ACCESS_DENIED allow from all </Directory>
(Apache 1.2 or later)
Read now
Unlock full access