Hitachi

Hitachi Application Server V10 Definition Reference Guide (For UNIX® Systems)


2.3.22 AddIconByEncoding

AddIconByEncoding displays an icon associated with a MIME encoding when the directory index is displayed and formatted.

Description

AddIconByEncoding displays an icon associated with a MIME encoding when the directory index is displayed and formatted. In character_string, specify the characters that you want to display in web browsers that cannot display images. In URL, specify the URL of the image file containing the icon. If the image file is on your local host, you can omit http//IP_address in the URL. If you specify an IPv6 address without omitting http//IP_address in the URL, you must enclose the IPv6 address in square brackets [ ].

If you specify this directive more than once, you cannot specify different character strings or URLs to the same MIME type.

Syntax

AddIconByEncoding {(character_string,URL)|URL} MIME_encoding [MIME_encoding ...]

Locations where it can be written

httpsd.conf, <VirtualHost>, <Directory>, and .htaccess

Overwrite permission

Indexes level

Example

This example defines an icon for MIME encoding: x-compress and x-gzip.
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip