Name

AddDescription

Synopsis

                     AddDescription 
                     string 
                     file 
                     ...

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

Used to associate a descriptive text phrase with a particular type of file. The text appears to the right of the filename in a directory index. The descriptive text must be surrounded by quotes and should be fairly short. Files can be associated by extension or name. For example:

AddDescription "GIF image file" .gif
AddDescription "The bottom of Hoover Dam" /home/user/vacation1.gif

See also FancyIndexing.

Get Webmaster in a Nutshell, Third 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.