]> git.pld-linux.org Git - packages/apache.git/blob - apache-mod_autoindex.conf
- added IfModule for mod_setenvif and mod_headers
[packages/apache.git] / apache-mod_autoindex.conf
1 LoadModule autoindex_module           modules/mod_autoindex.so
2
3 #
4 # Directives controlling the display of server-generated directory listings.
5 #
6
7 <IfModule mod_autoindex.c>
8         #
9         # FancyIndexing is whether you want fancy directory indexing or standard.
10         # VersionSort is whether files containing version numbers should be
11         # compared in the natural way, so that `apache-1.3.9.tar' is placed before
12         # `apache-1.3.12.tar'.
13         #
14         IndexOptions FancyIndexing VersionSort
15
16         #
17         # AddIcon* directives tell the server which icon to show for different
18         # files or filename extensions.  These are only displayed for
19         # FancyIndexed directories.
20         #
21         AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
22
23         AddIconByType (TXT,/icons/text.gif) text/*
24         AddIconByType (IMG,/icons/image2.gif) image/*
25         AddIconByType (SND,/icons/sound2.gif) audio/*
26         AddIconByType (VID,/icons/movie.gif) video/*
27
28         AddIcon /icons/binary.gif .bin .exe
29         AddIcon /icons/binhex.gif .hqx
30         AddIcon /icons/tar.gif .tar
31         AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
32         AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
33         AddIcon /icons/a.gif .ps .ai .eps
34         AddIcon /icons/layout.gif .html .shtml .htm .pdf
35         AddIcon /icons/text.gif .txt
36         AddIcon /icons/c.gif .c
37         AddIcon /icons/p.gif .pl .py
38         AddIcon /icons/f.gif .for
39         AddIcon /icons/dvi.gif .dvi
40         AddIcon /icons/uuencoded.gif .uu
41         AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
42         AddIcon /icons/tex.gif .tex
43         AddIcon /icons/bomb.gif core
44
45         AddIcon /icons/back.gif ..
46         AddIcon /icons/hand.right.gif README
47         AddIcon /icons/folder.gif ^^DIRECTORY^^
48         AddIcon /icons/blank.gif ^^BLANKICON^^
49
50         #
51         # DefaultIcon is which icon to show for files which do not have an icon
52         # explicitly set.
53         #
54         DefaultIcon /icons/unknown.gif
55
56         #
57         # AddDescription allows you to place a short description after a file in
58         # server-generated indexes.  These are only displayed for FancyIndexed
59         # directories.
60         # Format: AddDescription "description" filename
61         #
62         #AddDescription "GZIP compressed document" .gz
63         #AddDescription "tar archive" .tar
64         #AddDescription "GZIP compressed tar archive" .tgz
65
66         #
67         # ReadmeName is the name of the README file the server will look for by
68         # default, and append to directory listings.
69         #
70         # HeaderName is the name of a file which should be prepended to
71         # directory indexes.
72         ReadmeName README.html
73         HeaderName HEADER.html
74
75         #
76         # IndexIgnore is a set of filenames which directory indexing should ignore
77         # and not include in the listing.  Shell-style wildcarding is permitted.
78         #
79         IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
80
81 </IfModule>
This page took 0.02503 seconds and 3 git commands to generate.