1 LoadModule dir_module modules/mod_autoindex.so
3 <IfModule mod_autoindex.c>
5 # FancyIndexing is whether you want fancy directory indexing or standard.
6 # VersionSort is whether files containing version numbers should be
7 # compared in the natural way, so that `apache-1.3.9.tar' is placed before
10 IndexOptions FancyIndexing VersionSort
13 # AddIcon* directives tell the server which icon to show for different
14 # files or filename extensions. These are only displayed for
15 # FancyIndexed directories.
17 AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
19 AddIconByType (TXT,/icons/text.gif) text/*
20 AddIconByType (IMG,/icons/image2.gif) image/*
21 AddIconByType (SND,/icons/sound2.gif) audio/*
22 AddIconByType (VID,/icons/movie.gif) video/*
24 AddIcon /icons/binary.gif .bin .exe
25 AddIcon /icons/binhex.gif .hqx
26 AddIcon /icons/tar.gif .tar
27 AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
28 AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
29 AddIcon /icons/a.gif .ps .ai .eps
30 AddIcon /icons/layout.gif .html .shtml .htm .pdf
31 AddIcon /icons/text.gif .txt
32 AddIcon /icons/c.gif .c
33 AddIcon /icons/p.gif .pl .py
34 AddIcon /icons/f.gif .for
35 AddIcon /icons/dvi.gif .dvi
36 AddIcon /icons/uuencoded.gif .uu
37 AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
38 AddIcon /icons/tex.gif .tex
39 AddIcon /icons/bomb.gif core
41 AddIcon /icons/back.gif ..
42 AddIcon /icons/hand.right.gif README
43 AddIcon /icons/folder.gif ^^DIRECTORY^^
44 AddIcon /icons/blank.gif ^^BLANKICON^^
47 # DefaultIcon is which icon to show for files which do not have an icon
50 DefaultIcon /icons/unknown.gif
53 # AddDescription allows you to place a short description after a file in
54 # server-generated indexes. These are only displayed for FancyIndexed
56 # Format: AddDescription "description" filename
58 #AddDescription "GZIP compressed document" .gz
59 #AddDescription "tar archive" .tar
60 #AddDescription "GZIP compressed tar archive" .tgz
63 # ReadmeName is the name of the README file the server will look for by
64 # default, and append to directory listings.
66 # HeaderName is the name of a file which should be prepended to
68 ReadmeName README.html
69 HeaderName HEADER.html
72 # IndexIgnore is a set of filenames which directory indexing should ignore
73 # and not include in the listing. Shell-style wildcarding is permitted.
75 IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
78 # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
79 # information on the fly. Note: Not all browsers support this.
80 # Despite the name similarity, the following Add* directives have nothing
81 # to do with the FancyIndexing customization directives above.
83 AddEncoding x-compress Z
84 AddEncoding x-gzip gz tgz