Name
<DirectoryMatch>
Synopsis
<DirectoryMatch>
...
</DirectoryMatch>
[server config or within
<VirtualHost>]
<DirectoryMatch>
is a sectioning directive that identifies the directory (and
subdirectories) to which contained access-control directives apply.
It cannot be used in a per-directory .htaccess
file. The start tag has this format:
<DirectoryMatch regex>
where regex is a regular expression that designates one or more directories the enclosed directives apply to.
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.