Name

AddAltByType

Synopsis

AddAltByType string mime-type ... access.conf/<Directory>

Description

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

Similar to AddAlt, except that it specifies alternative text based on the media type of the file being listed. For example, to use the alt text “image” for all GIF files, the directive would be:

AddAltByType "image" image/gif

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.