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