]> git.pld-linux.org Git - packages/apache.git/blame - apache-mod_autoindex.conf
- added IfModule for mod_setenvif and mod_headers
[packages/apache.git] / apache-mod_autoindex.conf
CommitLineData
4bc749e2 1LoadModule autoindex_module modules/mod_autoindex.so
add0b1eb 2
28e123af
JB
3#
4# Directives controlling the display of server-generated directory listings.
5#
6
add0b1eb
PG
7<IfModule mod_autoindex.c>
8 #
eb5e9ad9
PG
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'.
add0b1eb 13 #
eb5e9ad9 14 IndexOptions FancyIndexing VersionSort
add0b1eb
PG
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 #
eb5e9ad9
PG
62 #AddDescription "GZIP compressed document" .gz
63 #AddDescription "tar archive" .tar
64 #AddDescription "GZIP compressed tar archive" .tgz
add0b1eb
PG
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.
eb5e9ad9
PG
72 ReadmeName README.html
73 HeaderName HEADER.html
add0b1eb
PG
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
add0b1eb 81</IfModule>
This page took 0.059675 seconds and 4 git commands to generate.