]> git.pld-linux.org Git - packages/apache.git/blob - apache-mod_autoindex.conf
- use correct symbol when loading
[packages/apache.git] / apache-mod_autoindex.conf
1 LoadModule autoindex_module           modules/mod_autoindex.so
2
3 <IfModule mod_autoindex.c>
4         #
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
8         # `apache-1.3.12.tar'.
9         #
10         IndexOptions FancyIndexing VersionSort
11
12         #
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.
16         #
17         AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
18
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/*
23
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
40
41         AddIcon /icons/back.gif ..
42         AddIcon /icons/hand.right.gif README
43         AddIcon /icons/folder.gif ^^DIRECTORY^^
44         AddIcon /icons/blank.gif ^^BLANKICON^^
45
46         #
47         # DefaultIcon is which icon to show for files which do not have an icon
48         # explicitly set.
49         #
50         DefaultIcon /icons/unknown.gif
51
52         #
53         # AddDescription allows you to place a short description after a file in
54         # server-generated indexes.  These are only displayed for FancyIndexed
55         # directories.
56         # Format: AddDescription "description" filename
57         #
58         #AddDescription "GZIP compressed document" .gz
59         #AddDescription "tar archive" .tar
60         #AddDescription "GZIP compressed tar archive" .tgz
61
62         #
63         # ReadmeName is the name of the README file the server will look for by
64         # default, and append to directory listings.
65         #
66         # HeaderName is the name of a file which should be prepended to
67         # directory indexes.
68         ReadmeName README.html
69         HeaderName HEADER.html
70
71         #
72         # IndexIgnore is a set of filenames which directory indexing should ignore
73         # and not include in the listing.  Shell-style wildcarding is permitted.
74         #
75         IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
76
77         #
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.
82         #
83         AddEncoding x-compress Z
84         AddEncoding x-gzip gz tgz
85         
86 </IfModule>
87
This page took 0.029168 seconds and 3 git commands to generate.