Indexoptions; Addiconbyencoding; Addiconbytype; Addicon - Red Hat ENTERPRISE LINUX 4.5.0 Reference Manual

Table of Contents

Advertisement

.
<file-name>
In this example, any requests for
the new location.
For more advanced redirection techniques, use the
Apache HTTP Server. For more information about configuring the
the Apache Software Foundation documentation online at
http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html.
5.43.

IndexOptions

controls the appearance of server generated directing listings, by adding icons,
IndexOptions
file descriptions, and so on. If
Web server generates a directory listing when the Web server receives an HTTP request for a
directory without an index.
First, the Web server looks in the requested directory for a file matching the names listed in the
directive (usually,
DirectoryIndex
HTTP Server creates an HTML directory listing of the requested directory. The appearance of
this directory listing is controlled, in part, by the
The default configuration turns on
directory listing by clicking on column headers. Another click on the same header switches from
ascending to descending order.
based upon file extensions.
The
AddDescription
description for the file in server generated directory listings.
has a number of other parameters which can be set to control the appearance of
IndexOptions
server generated directories. The
include HTML
HEIGHT
parameter combines the graphical icon with the HTML link anchor, which
IconsAreLinks
contains the URL link target.
5.44.

AddIconByEncoding

This directive names icons which are displayed by files with MIME encoding in server generated
directory listings. For example, by default, the Web server shows the
to MIME encoded x-compress and x-gzip files in server generated directory listings.
5.45.

AddIconByType

This directive names icons which are displayed next to files with MIME types in server
generated directory listings. For example, the server shows the icon
a mime-type of
, in server generated directory listings.
text
5.46.

AddIcon

<file-name>
Options Indexes
index.html
FancyIndexing
FancyIndexing
option, when used in conjunction with
IconHeight
and
tags for the icons in server generated webpages. The
WIDTH
at the old location is automatically redirected to
module included with the
mod_rewrite
mod_rewrite
is set (refer to
Section 5.23, "
). If an
file is not found, Apache
index.html
directive.
IndexOptions
. This means that a user can re-sort a
also shows different icons for different files,
FancyIndexing
and
parameters require the server to
IconWidth
text.gif
IndexOptions
module, refer to
"), the
Options
, presents a short
icon next
compressed.gif
next to files with
175

Advertisement

Table of Contents
loading

Table of Contents