Name

AddAlt

Synopsis

                     AddAlt 
                     string 
                     filenames|suffixes 
                     ...

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

Specifies alternative text for icons used with a given file listing in a directory index. The alternative text is used if the client is unable to load the image for any reason or has disabled the display of images. The text is used as the first argument to the directive, followed by one or more file extensions or names. For example:

AddAlt "Image" .gif .jpg .png
AddAlt "Logo" logo.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.