IndexOrderDefault
IndexOrderDefault Ascending|Descending Name|Date|Size|Description Server config, virtual host, directory, .htaccess IndexOrderDefault is only available in Apache 1.3.4 and later.
The IndexOrderDefault
directive is used in
combination with the FancyIndexing
index option.
By default, FancyIndex
ed directory listings are
displayed in ascending order by filename;
IndexOrderDefault
allows you to change this
initial display order.
IndexOrderDefault
takes two arguments. The first
must be either Ascending
or
Descending
, indicating the direction of the sort.
The second argument must be one of the keywords
Name
, Date
,
Size
, or Description
and
identifies the primary key. The secondary key is always the ascending
filename.
You can force a directory listing to be displayed only in a
particular order by combining this directive with the
SuppressColumnSorting
index option; this will
prevent the client from requesting the directory listing in a
different order.