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