]>
Commit | Line | Data |
---|---|---|
1fee6743 | 1 | # $Id$ |
408714fc | 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 | ||
78bb140c ER |
8 | # Required modules: mod_autoindex, mod_alias |
9 | # | |
10 | # To see the listing of a directory, the Options directive for the | |
11 | # directory must include "Indexes", and the directory must not contain | |
12 | # a file matching those listed in the DirectoryIndex directive. | |
13 | ||
add0b1eb | 14 | <IfModule mod_autoindex.c> |
78bb140c ER |
15 | # IndexOptions: Controls the appearance of server-generated directory |
16 | # listings. | |
17 | # | |
18 | IndexOptions FancyIndexing VersionSort | |
add0b1eb | 19 | |
78bb140c ER |
20 | # We include the /icons/ alias for FancyIndexed directory listings. If |
21 | # you do not use FancyIndexing, you may comment this out. | |
22 | # | |
23 | Alias /icons/ "/home/services/httpd/icons/" | |
add0b1eb | 24 | |
78bb140c | 25 | <Directory "/home/services/httpd/icons"> |
408714fc ER |
26 | Options Indexes MultiViews |
27 | AllowOverride None | |
63f51c61 | 28 | <IfModule mod_authz_host.c> |
408714fc ER |
29 | Order allow,deny |
30 | Allow from all | |
31 | </IfModule> | |
78bb140c | 32 | </Directory> |
add0b1eb | 33 | |
78bb140c ER |
34 | # |
35 | # AddIcon* directives tell the server which icon to show for different | |
36 | # files or filename extensions. These are only displayed for | |
37 | # FancyIndexed directories. | |
38 | # | |
39 | AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip | |
add0b1eb | 40 | |
78bb140c ER |
41 | AddIconByType (TXT,/icons/text.gif) text/* |
42 | AddIconByType (IMG,/icons/image2.gif) image/* | |
43 | AddIconByType (SND,/icons/sound2.gif) audio/* | |
44 | AddIconByType (VID,/icons/movie.gif) video/* | |
add0b1eb | 45 | |
78bb140c ER |
46 | AddIcon /icons/binary.gif .bin .exe |
47 | AddIcon /icons/binhex.gif .hqx | |
48 | AddIcon /icons/tar.gif .tar | |
49 | AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv | |
50 | AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip | |
51 | AddIcon /icons/a.gif .ps .ai .eps | |
52 | AddIcon /icons/layout.gif .html .shtml .htm .pdf | |
53 | AddIcon /icons/text.gif .txt | |
54 | AddIcon /icons/c.gif .c | |
55 | AddIcon /icons/p.gif .pl .py | |
56 | AddIcon /icons/f.gif .for | |
57 | AddIcon /icons/dvi.gif .dvi | |
58 | AddIcon /icons/uuencoded.gif .uu | |
59 | AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl | |
60 | AddIcon /icons/tex.gif .tex | |
61 | AddIcon /icons/bomb.gif core | |
add0b1eb | 62 | |
78bb140c ER |
63 | AddIcon /icons/back.gif .. |
64 | AddIcon /icons/hand.right.gif README | |
65 | AddIcon /icons/folder.gif ^^DIRECTORY^^ | |
66 | AddIcon /icons/blank.gif ^^BLANKICON^^ | |
add0b1eb | 67 | |
78bb140c ER |
68 | # |
69 | # DefaultIcon is which icon to show for files which do not have an icon | |
70 | # explicitly set. | |
71 | # | |
72 | DefaultIcon /icons/unknown.gif | |
add0b1eb | 73 | |
78bb140c ER |
74 | # |
75 | # AddDescription allows you to place a short description after a file in | |
76 | # server-generated indexes. These are only displayed for FancyIndexed | |
77 | # directories. | |
78 | # Format: AddDescription "description" filename | |
79 | # | |
80 | #AddDescription "GZIP compressed document" .gz | |
81 | #AddDescription "tar archive" .tar | |
82 | #AddDescription "GZIP compressed tar archive" .tgz | |
83 | ||
84 | # | |
85 | # ReadmeName is the name of the README file the server will look for by | |
86 | # default, and append to directory listings. | |
87 | # | |
88 | # HeaderName is the name of a file which should be prepended to | |
89 | # directory indexes. | |
90 | ReadmeName README.html | |
91 | HeaderName HEADER.html | |
92 | ||
93 | # | |
94 | # IndexIgnore is a set of filenames which directory indexing should ignore | |
95 | # and not include in the listing. Shell-style wildcarding is permitted. | |
96 | # | |
97 | IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t | |
add0b1eb | 98 | |
add0b1eb | 99 | </IfModule> |