Name

AddIcon

Synopsis

AddIcon icon name ...

Description

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

Specifies an icon image to be displayed with a given type of file in a directory index. For example:

AddIcon /icons/image.gif .gif .jpg .png

An optional syntax lets you specify alternative text in this directive as well:

AddIcon (IMAGE,/icons/image.gif) .gif .jpg .png

Three values can be used for the file extensions in the AddIcon directive:

^^DIRECTORY^^

The icon is used for subdirectory names.

..

The icon is used for the parent directory.

^^BLANKICON^^

The icon is used only for spacing in the header of the page.

See also FancyIndexing.

(All)

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.