Name
AddAltByEncoding
Synopsis
AddAltByEncoding
string
mime-encoding
...
Description
[server config, within <VirtualHost>
or <Directory>
,
or .htaccess]
Similar to AddAlt
, except that it specifies alternative
text based on the MIME content encoding of the file being listed.
For example, to specify the string “gzip” for a file
encoded using the gzip compression program, the directive would be:
AddAltByEncoding "gzip" x-gzip
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.