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