436d9fbf |
1 | <IfModule mod_autoindex.c> |
2 | # Directives controlling the display of server-generated directory listings. |
3 | |
4 | # |
5 | # IndexOptions: Controls the appearance of server-generated directory |
6 | # listings. |
7 | # Remove/replace the "Charset=UTF-8" if you don't use UTF-8 for your filenames. |
8 | IndexOptions FancyIndexing VersionSort HTMLTable NameWidth=* DescriptionWidth=* Charset=UTF-8 |
9 | |
10 | # |
11 | # AddIcon* directives tell the server which icon to show for different |
12 | # files or filename extensions. These are only displayed for |
13 | # FancyIndexed directories. |
14 | AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip x-bzip2 |
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 | # It's a suffix rule, so simply matching "core" matches "score" as well ! |
37 | AddIcon /icons/bomb.gif /core |
38 | AddIcon (SND,/icons/sound2.gif) .ogg |
39 | AddIcon (VID,/icons/movie.gif) .ogm |
40 | |
41 | AddIcon /icons/back.gif .. |
42 | AddIcon /icons/hand.right.gif README |
43 | AddIcon /icons/folder.gif ^^DIRECTORY^^ |
44 | AddIcon /icons/blank.gif ^^BLANKICON^^ |
45 | |
46 | # Default icons for OpenDocument format |
47 | AddIcon /icons/odf6odt-20x22.png .odt |
48 | AddIcon /icons/odf6ods-20x22.png .ods |
49 | AddIcon /icons/odf6odp-20x22.png .odp |
50 | AddIcon /icons/odf6odg-20x22.png .odg |
51 | AddIcon /icons/odf6odc-20x22.png .odc |
52 | AddIcon /icons/odf6odf-20x22.png .odf |
53 | AddIcon /icons/odf6odb-20x22.png .odb |
54 | AddIcon /icons/odf6odi-20x22.png .odi |
55 | AddIcon /icons/odf6odm-20x22.png .odm |
56 | |
57 | AddIcon /icons/odf6ott-20x22.png .ott |
58 | AddIcon /icons/odf6ots-20x22.png .ots |
59 | AddIcon /icons/odf6otp-20x22.png .otp |
60 | AddIcon /icons/odf6otg-20x22.png .otg |
61 | AddIcon /icons/odf6otc-20x22.png .otc |
62 | AddIcon /icons/odf6otf-20x22.png .otf |
63 | AddIcon /icons/odf6oti-20x22.png .oti |
64 | AddIcon /icons/odf6oth-20x22.png .oth |
65 | |
66 | # |
67 | # DefaultIcon is which icon to show for files which do not have an icon |
68 | # explicitly set. |
69 | DefaultIcon /icons/unknown.gif |
70 | |
71 | # |
72 | # AddDescription allows you to place a short description after a file in |
73 | # server-generated indexes. These are only displayed for FancyIndexed |
74 | # directories. |
75 | # Format: AddDescription "description" filename |
76 | #AddDescription "GZIP compressed document" .gz |
77 | #AddDescription "tar archive" .tar |
78 | #AddDescription "GZIP compressed tar archive" .tgz |
79 | |
80 | # |
81 | # ReadmeName is the name of the README file the server will look for by |
82 | # default, and append to directory listings. |
83 | # |
84 | # HeaderName is the name of a file which should be prepended to |
85 | # directory indexes |
86 | ReadmeName README.html |
87 | HeaderName HEADER.html |
88 | |
89 | # |
90 | # IndexIgnore is a set of filenames which directory indexing should ignore |
91 | # and not include in the listing. Shell-style wildcarding is permitted. |
92 | IndexIgnore .??* *~ *# RCS CVS *,v *,t |
93 | |
94 | </IfModule> |
95 | |
96 | # vim: syntax=apache ts=4 sw=4 sts=4 sr noet |