]>
Commit | Line | Data |
---|---|---|
408714fc | 1 | LoadModule autoindex_module modules/mod_autoindex.so |
add0b1eb | 2 | |
28e123af JB |
3 | # |
4 | # Directives controlling the display of server-generated directory listings. | |
5 | # | |
6 | ||
78bb140c ER |
7 | # Required modules: mod_autoindex, mod_alias |
8 | # | |
9 | # To see the listing of a directory, the Options directive for the | |
10 | # directory must include "Indexes", and the directory must not contain | |
11 | # a file matching those listed in the DirectoryIndex directive. | |
12 | ||
add0b1eb | 13 | <IfModule mod_autoindex.c> |
78bb140c ER |
14 | # IndexOptions: Controls the appearance of server-generated directory |
15 | # listings. | |
16 | # | |
061ad5b2 | 17 | IndexOptions FancyIndexing HTMLTable VersionSort Charset=UTF-8 |
add0b1eb | 18 | |
78bb140c ER |
19 | # We include the /icons/ alias for FancyIndexed directory listings. If |
20 | # you do not use FancyIndexing, you may comment this out. | |
21 | # | |
22 | Alias /icons/ "/home/services/httpd/icons/" | |
add0b1eb | 23 | |
78bb140c | 24 | <Directory "/home/services/httpd/icons"> |
fc4ed9fd | 25 | Options Indexes |
408714fc | 26 | AllowOverride None |
63f51c61 | 27 | <IfModule mod_authz_host.c> |
40ca719a | 28 | Require all granted |
408714fc | 29 | </IfModule> |
e92e5081 JR |
30 | <IfModule mod_access_compat.c> |
31 | Order allow,deny | |
32 | Allow from all | |
33 | </IfModule> | |
78bb140c | 34 | </Directory> |
add0b1eb | 35 | |
78bb140c ER |
36 | # |
37 | # AddIcon* directives tell the server which icon to show for different | |
38 | # files or filename extensions. These are only displayed for | |
39 | # FancyIndexed directories. | |
40 | # | |
41 | AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip | |
add0b1eb | 42 | |
78bb140c ER |
43 | AddIconByType (TXT,/icons/text.gif) text/* |
44 | AddIconByType (IMG,/icons/image2.gif) image/* | |
45 | AddIconByType (SND,/icons/sound2.gif) audio/* | |
46 | AddIconByType (VID,/icons/movie.gif) video/* | |
add0b1eb | 47 | |
78bb140c ER |
48 | AddIcon /icons/binary.gif .bin .exe |
49 | AddIcon /icons/binhex.gif .hqx | |
50 | AddIcon /icons/tar.gif .tar | |
51 | AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv | |
52 | AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip | |
53 | AddIcon /icons/a.gif .ps .ai .eps | |
54 | AddIcon /icons/layout.gif .html .shtml .htm .pdf | |
55 | AddIcon /icons/text.gif .txt | |
56 | AddIcon /icons/c.gif .c | |
57 | AddIcon /icons/p.gif .pl .py | |
58 | AddIcon /icons/f.gif .for | |
59 | AddIcon /icons/dvi.gif .dvi | |
60 | AddIcon /icons/uuencoded.gif .uu | |
61 | AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl | |
62 | AddIcon /icons/tex.gif .tex | |
63 | AddIcon /icons/bomb.gif core | |
add0b1eb | 64 | |
78bb140c ER |
65 | AddIcon /icons/back.gif .. |
66 | AddIcon /icons/hand.right.gif README | |
67 | AddIcon /icons/folder.gif ^^DIRECTORY^^ | |
68 | AddIcon /icons/blank.gif ^^BLANKICON^^ | |
add0b1eb | 69 | |
78bb140c ER |
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 | |
add0b1eb | 75 | |
78bb140c ER |
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 .??* *~ *# HEADER* README* RCS CVS *,v *,t | |
add0b1eb | 100 | |
add0b1eb | 101 | </IfModule> |