11.3.5. Creating a Fancy Index
The keyword FancyIndexing is used on the IndexOptions directive line to enable a "fancy index" of the directory when Apache is forced to send the client a directory listing. When fancy indexing is enabled, httpd creates a directory list that includes graphics, links, and other advanced features. The Solaris configuration enables fancy indexing with the IndexOptions directive, and it contains about 20 extra lines to help configure the fancy index. Solaris uses the following directives to define the graphics and features used in the fancy directory listing:
IndexIgnore
Identifies the files that should not be included in the directory listing. Files can be specified by name, partial name, extension, or by standard wildcard characters.
HeaderName
Specifies the name of a file that contains information to be displayed at the top of the directory listing.
ReadmeName
Specifies the name of a file that contains information to be displayed at the bottom of the directory listing.
AddIconByEncoding
Points to the icon used to represent a file based on its MIME encoding type.
AddIconByType
Points to the icon used to represent a file based on its MIME file type.
AddIcon
Points to the icon used to represent a file based on its extension.
DefaultIcon
Points to the icon file used to represent a file that has not been given an icon by any other option.