Name

<Files>

Synopsis

<Files> ... </Files>

Description

[server config, within <VirtualHost>, or .htaccess]

The <Files> directive is a sectioning directive that identifies the file or files to which contained access-control directives apply. The start tag has this format:

<Files filename>

where filename is the name of any file that should have restrictions placed on it. Note that filename may include wildcard characters (such as * and ?) to designate a set of files. In addition, you may place it inside a <Directory> directive to further restrict which files are affected. You can also specify regular expressions by preceding them with a tilde (~).

(Apache 1.2 or above)

Get Webmaster in a Nutshell, Second 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.