DefaultIcon directive


Purpose

This directive specifies what icon should be shown in an automatically generated directory listing for a file which has no icon information.


Syntax

DefaultIcon location

location is the virtual path to the icon on your server.

Only one DefaultIcon directive should appear in the configuration file.


Default

If no DefaultIcon is present, httpd assumes nothing.

Example

DefaultIcon /icons/unknown.xbm

This would cause a file with no icon to be given the icon /icons/unknown.xbm.


Return to Resource Configuration File Overview

NCSA httpd Development Team

httpd@ncsa.uiuc.edu