Installation guide
200 Chapter 14. Apache HTTP Server
14.5.49. AddIcon
AddIcon tells the server which icon to show in server generated directory listings for certain file types
or for files with certain extensions. For example, your Web server is set to show the icon binary.gif
for files with .bin or .exe extensions.
14.5.50. DefaultIcon
DefaultIcon names the icon to show in server generated directory listings for files which have no
other icon specified. The unknown.gif image file is the DefaultIcon for those files by default.
14.5.51. AddDescription
You can use AddDescription to show text that you specify for certain files, in server generated
directory listings (you will also need to enable FancyIndexing as an IndexOptions). You can
name specific files, wildcard expressions or file extensions to specify the files which this directive
should apply to. For example, you could use the following line:
AddDescription "A file that ends in .ni" .ni
In server generated directory listings, all files with extensions of .ni would have the description A
file that ends in .ni after the filename. Note that you will also need FancyIndexing turned
on.
14.5.52. ReadmeName
ReadmeName names the file which (if it exists in the directory) will be appended to the end of server
generated directory listings. The Web server will first try to include the file as an HTML document
and then try to include it as plain text. By default, ReadmeName is set to README.
14.5.53. HeaderName
HeaderName names the file which (if it exists in the directory) will be prepended to the start of server
generated directory listings. Like ReadmeName, the server will try to include it as an HTML document
if possible, or in plain text if not.
14.5.54. IndexIgnore
IndexIgnore lists file extensions, partial filenames, wildcard expressions or full filenames. The Web
server will not include any files which match any of those parameters in server generated directory
listings.
14.5.55. AddEncoding
AddEncoding names filename extensions which should specify a particular encoding type. AddEn-
coding can also be used to instruct some browsers (not all) to uncompress certain files as they are
downloaded.