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