]> git.pld-linux.org Git - packages/apache.git/blob - apache-mod_autoindex.conf
- mod_authn_alias merged into mod_authn_core
[packages/apache.git] / apache-mod_autoindex.conf
1 # $Id$
2 LoadModule autoindex_module     modules/mod_autoindex.so
3
4 #
5 # Directives controlling the display of server-generated directory listings.
6 #
7
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
14 <IfModule mod_autoindex.c>
15 # IndexOptions: Controls the appearance of server-generated directory
16 # listings.
17 #
18 IndexOptions FancyIndexing VersionSort Charset=UTF-8
19
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/"
24
25 <Directory "/home/services/httpd/icons">
26         Options Indexes MultiViews
27         AllowOverride None
28         <IfModule mod_authz_host.c>
29                 Require all granted
30         </IfModule>
31 </Directory>
32
33 #
34 # AddIcon* directives tell the server which icon to show for different
35 # files or filename extensions.  These are only displayed for
36 # FancyIndexed directories.
37 #
38 AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
39
40 AddIconByType (TXT,/icons/text.gif) text/*
41 AddIconByType (IMG,/icons/image2.gif) image/*
42 AddIconByType (SND,/icons/sound2.gif) audio/*
43 AddIconByType (VID,/icons/movie.gif) video/*
44
45 AddIcon /icons/binary.gif .bin .exe
46 AddIcon /icons/binhex.gif .hqx
47 AddIcon /icons/tar.gif .tar
48 AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
49 AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
50 AddIcon /icons/a.gif .ps .ai .eps
51 AddIcon /icons/layout.gif .html .shtml .htm .pdf
52 AddIcon /icons/text.gif .txt
53 AddIcon /icons/c.gif .c
54 AddIcon /icons/p.gif .pl .py
55 AddIcon /icons/f.gif .for
56 AddIcon /icons/dvi.gif .dvi
57 AddIcon /icons/uuencoded.gif .uu
58 AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
59 AddIcon /icons/tex.gif .tex
60 AddIcon /icons/bomb.gif core
61
62 AddIcon /icons/back.gif ..
63 AddIcon /icons/hand.right.gif README
64 AddIcon /icons/folder.gif ^^DIRECTORY^^
65 AddIcon /icons/blank.gif ^^BLANKICON^^
66
67 #
68 # DefaultIcon is which icon to show for files which do not have an icon
69 # explicitly set.
70 #
71 DefaultIcon /icons/unknown.gif
72
73 #
74 # AddDescription allows you to place a short description after a file in
75 # server-generated indexes.  These are only displayed for FancyIndexed
76 # directories.
77 # Format: AddDescription "description" filename
78 #
79 #AddDescription "GZIP compressed document" .gz
80 #AddDescription "tar archive" .tar
81 #AddDescription "GZIP compressed tar archive" .tgz
82
83 #
84 # ReadmeName is the name of the README file the server will look for by
85 # default, and append to directory listings.
86 #
87 # HeaderName is the name of a file which should be prepended to
88 # directory indexes.
89 ReadmeName README.html
90 HeaderName HEADER.html
91
92 #
93 # IndexIgnore is a set of filenames which directory indexing should ignore
94 # and not include in the listing.  Shell-style wildcarding is permitted.
95 #
96 IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
97
98 </IfModule>
This page took 0.042104 seconds and 3 git commands to generate.