Red Hat LINUX 7.2 Reference Manual page 208

Hide thumbs Also See for LINUX 7.2:
Table of Contents

Advertisement

208
Chapter 13:Apache
13.3.54 AddIconByType
This directive names icons which will be displayed next to files with MIME types in server generated
directory listings. For example, your server is set to show the icon text.gif next to files with a
mime-type of "text," in server generated directory listings.
13.3.55 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 bi-
nary.gif for files with .bin or .exe extensions.
13.3.56 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.
13.3.57 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.
13.3.58 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 plaintext. By default, ReadmeName is set to README.
13.3.59 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 plaintext if not.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LINUX 7.2 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Linux 7.2

Table of Contents