
2.3 srm.conf 29
AddIconByEncoding Thisdirectivenamesiconswhich willbedisplayed
by files with mime-encoding, in server generated directory listings.
Forexample,bydefault,yourwebservershowsthecompressed.gif
icon next to mime-encodedx-compress and x-gzip files in server
generated directory listings.
AddIconByType Thisdirectivenamesiconswhich will bedisplayed 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.
AddIcon AddIcon tells the server which icon to show in server gener-
ated 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.
DefaultIcon DefaultIcon names the icon to show in server generated
directory listings for files which have no other icon specified.
unknown.gif is the DefaultIcon for those files by default.
AddDescription You can use AddDescription to show text that you
specify for certain files, in server generated directory listings. 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 .nih" .nih
Inservergenerateddirectorylistings, allfileswithextensions of .nih
wouldhavethedescriptionA file that ends in .nih afterthe
filename. Note that you’ll also need FancyIndexing turned on.
ReadmeName ReadmeName names the filewhich (ifit exists) will be ap-
pended 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.
HeaderName HeaderName names the file which (if it exists) will be
prepended to the start of server generated directory listings. Like
ReadmeName,the serverwill try to includeit asan HTMLdocument
if possible, or plain text if not.
Kommentare zu diesen Handbüchern