2.3.18 AddDescription
AddDescription specifies the description of a file to be displayed when the directory index is displayed and formatted.
Description
AddDescription displays a descriptive character string for one of the following items specified by the file name when the directory index is displayed and formatted: a file extension, a file name using wildcards, or a full file name without path information. If the specified file name is a character string ending with a slash, an asterisk (*) is appended and the use of a wildcard is assumed.
You can specify one of the following in the file name:
-
File extension
-
File name using wildcards
-
File name
If you specify this directive more than once, you cannot specify different character strings for the same file name.
Syntax
AddDescription "character_string" file_name [file_name ...]
Locations where it can be written
httpsd.conf, <VirtualHost>, <Directory>, and .htaccess
Overwrite permission
Indexes level
Example
AddDescription "The planet Mars" /web/pics/mars.gif