Name

AddIconByType

Synopsis

                     AddIconByType 
                     icon 
                     mime-type
                  

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

Specifies an icon to be displayed with a file in a directory index based on the file’s media type. For example:

AddIconByType /icons/image.gif image/*
AddIconByType (IMAGE,/icons/image.gif) image/*

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.