Name
IndexOptions
Synopsis
IndexOptions option [option] ... (Apache 1.3.2 and earlier) IndexOptions [+|-]option [[+|-]option] ... (Apache 1.3.3 and later) Server config, virtual host, directory, .htaccess
This directive is somewhat complicated, and its syntax varies drastically depending on your version of Apache.
+/-
syntax and merging of multiple
IndexOptions
directives is only available with
Apache 1.3.3 and later; the FoldersFirst
and
DescriptionWidth
options are only available with
Apache 1.3.10 and later; the TrackModified
option
is only available with Apache 1.3.15 and later.
The IndexOptions
directive specifies the behavior
of the directory indexing. option
can be one of
the following:
DescriptionWidth=[n | *] (Apache 1.3.10 and later)
The DescriptionWidth
keyword allows you to specify
the width of the description column in characters. If the keyword
value is *
, then the column is automatically sized
to the length of the longest filename in the display. See
AddDescription
for dangers inherent in truncating
descriptions.
FancyIndexing
This turns on fancy indexing, which gives users more control over how the information is sorted.
Note that in versions of Apache prior to 1.3.2, the
FancyIndexing
and IndexOptions
directives will override each other. You should use
IndexOptions
FancyIndexing
in
preference to the standalone FancyIndexing
directive. As of Apache 1.3.2, a standalone
FancyIndexing
directive is combined with any
IndexOptions
directive already specified for the current ...
Get Apache: The Definitive Guide, 3rd 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.