Name
IndexIgnore
Synopsis
IndexIgnorefilename
..
.
[server config, within
<VirtualHost>
or
<Directory>
, or
.htaccess]
Tells the server to ignore (hide)
certain files when automatically building a directory index on the
fly. The files are specified as full server paths, and you can use
the wildcards *
and ?
with
their usual meanings. Thus, to ignore all hidden files (i.e., files
whose names begin with a period) at every level, you could use the
following setting:
IndexIgnore */.?*
Any number of IndexIgnore
directives may be
included.
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.