64803503 |
1 | <IfModule mod_autoindex.c> |
2 | # |
3 | # Directives controlling the display of server-generated directory listings. |
4 | # |
5 | |
6 | # |
7 | # IndexOptions: Controls the appearance of server-generated directory |
8 | # listings. |
9 | # Remove/replace the "Charset=UTF-8" if you don't use UTF-8 for your filenames. |
10 | # |
11 | IndexOptions FancyIndexing VersionSort HTMLTable NameWidth=* DescriptionWidth=* Charset=UTF-8 |
12 | |
13 | # |
14 | # AddIcon* directives tell the server which icon to show for different |
15 | # files or filename extensions. These are only displayed for |
16 | # FancyIndexed directories. |
17 | # |
18 | AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip x-bzip2 |
19 | |
20 | AddIconByType (TXT,/icons/text.gif) text/* |
21 | AddIconByType (IMG,/icons/image2.gif) image/* |
22 | AddIconByType (SND,/icons/sound2.gif) audio/* |
23 | AddIconByType (VID,/icons/movie.gif) video/* |
24 | |
25 | AddIcon /icons/binary.gif .bin .exe |
26 | AddIcon /icons/binhex.gif .hqx |
27 | AddIcon /icons/tar.gif .tar |
28 | AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv |
29 | AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip |
30 | AddIcon /icons/a.gif .ps .ai .eps |
31 | AddIcon /icons/layout.gif .html .shtml .htm .pdf |
32 | AddIcon /icons/text.gif .txt |
33 | AddIcon /icons/c.gif .c |
34 | AddIcon /icons/p.gif .pl .py |
35 | AddIcon /icons/f.gif .for |
36 | AddIcon /icons/dvi.gif .dvi |
37 | AddIcon /icons/uuencoded.gif .uu |
38 | AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl |
39 | AddIcon /icons/tex.gif .tex |
40 | # It's a suffix rule, so simply matching "core" matches "score" as well ! |
41 | AddIcon /icons/bomb.gif /core |
42 | AddIcon (SND,/icons/sound2.gif) .ogg |
43 | AddIcon (VID,/icons/movie.gif) .ogm |
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 | # Default icons for OpenDocument format |
51 | AddIcon /icons/odf6odt-20x22.png .odt |
52 | AddIcon /icons/odf6ods-20x22.png .ods |
53 | AddIcon /icons/odf6odp-20x22.png .odp |
54 | AddIcon /icons/odf6odg-20x22.png .odg |
55 | AddIcon /icons/odf6odc-20x22.png .odc |
56 | AddIcon /icons/odf6odf-20x22.png .odf |
57 | AddIcon /icons/odf6odb-20x22.png .odb |
58 | AddIcon /icons/odf6odi-20x22.png .odi |
59 | AddIcon /icons/odf6odm-20x22.png .odm |
60 | |
61 | AddIcon /icons/odf6ott-20x22.png .ott |
62 | AddIcon /icons/odf6ots-20x22.png .ots |
63 | AddIcon /icons/odf6otp-20x22.png .otp |
64 | AddIcon /icons/odf6otg-20x22.png .otg |
65 | AddIcon /icons/odf6otc-20x22.png .otc |
66 | AddIcon /icons/odf6otf-20x22.png .otf |
67 | AddIcon /icons/odf6oti-20x22.png .oti |
68 | AddIcon /icons/odf6oth-20x22.png .oth |
69 | |
70 | # |
71 | # DefaultIcon is which icon to show for files which do not have an icon |
72 | # explicitly set. |
73 | # |
74 | DefaultIcon /icons/unknown.gif |
75 | |
76 | # |
77 | # AddDescription allows you to place a short description after a file in |
78 | # server-generated indexes. These are only displayed for FancyIndexed |
79 | # directories. |
80 | # Format: AddDescription "description" filename |
81 | # |
82 | #AddDescription "GZIP compressed document" .gz |
83 | #AddDescription "tar archive" .tar |
84 | #AddDescription "GZIP compressed tar archive" .tgz |
85 | |
86 | # |
87 | # ReadmeName is the name of the README file the server will look for by |
88 | # default, and append to directory listings. |
89 | # |
90 | # HeaderName is the name of a file which should be prepended to |
91 | # directory indexes. |
92 | ReadmeName README.html |
93 | HeaderName HEADER.html |
94 | |
95 | # |
96 | # IndexIgnore is a set of filenames which directory indexing should ignore |
97 | # and not include in the listing. Shell-style wildcarding is permitted. |
98 | # |
99 | IndexIgnore .??* *~ *# RCS CVS *,v *,t |
100 | |
101 | </IfModule> |