]> git.pld-linux.org Git - packages/apache1.git/blame - apache1-mod_autoindex.conf
- add missing config reload for -defaultindex
[packages/apache1.git] / apache1-mod_autoindex.conf
CommitLineData
c6d435c1
ER
1# $Id$
2LoadModule autoindex_module modules/mod_autoindex.so
b03c0ab2 3
00aabee5
ER
4<IfModule mod_alias.c>
5 Alias /icons/ "/usr/share/apache-icons/"
6
7 <Directory "/usr/share/apache-icons">
8 Options Indexes MultiViews
9 AllowOverride None
5b724287
ER
10 <IfModule mod_access.c>
11 Order allow,deny
12 Allow from all
13 </IfModule>
00aabee5
ER
14 </Directory>
15</IfModule>
16
22278125
JB
17#
18# Directives controlling the display of server-generated directory listings.
19#
20
b03c0ab2
PG
21<IfModule mod_autoindex.c>
22 #
23 # FancyIndexing is whether you want fancy directory indexing or standard
24 #
25 IndexOptions FancyIndexing
26
27 #
28 # AddIcon* directives tell the server which icon to show for different
29 # files or filename extensions. These are only displayed for
30 # FancyIndexed directories.
31 #
32 AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
33
34 AddIconByType (TXT,/icons/text.gif) text/*
35 AddIconByType (IMG,/icons/image2.gif) image/*
36 AddIconByType (SND,/icons/sound2.gif) audio/*
37 AddIconByType (VID,/icons/movie.gif) video/*
38
39 AddIcon /icons/binary.gif .bin .exe
40 AddIcon /icons/binhex.gif .hqx
41 AddIcon /icons/tar.gif .tar
42 AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
43 AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
44 AddIcon /icons/a.gif .ps .ai .eps
45 AddIcon /icons/layout.gif .html .shtml .htm .pdf
46 AddIcon /icons/text.gif .txt
47 AddIcon /icons/c.gif .c
48 AddIcon /icons/p.gif .pl .py
49 AddIcon /icons/f.gif .for
50 AddIcon /icons/dvi.gif .dvi
51 AddIcon /icons/uuencoded.gif .uu
52 AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
53 AddIcon /icons/tex.gif .tex
54 AddIcon /icons/bomb.gif core
55
56 AddIcon /icons/back.gif ..
57 AddIcon /icons/hand.right.gif README
58 AddIcon /icons/folder.gif ^^DIRECTORY^^
59 AddIcon /icons/blank.gif ^^BLANKICON^^
60
61 #
62 # DefaultIcon is which icon to show for files which do not have an icon
63 # explicitly set.
64 #
65 DefaultIcon /icons/unknown.gif
66
67 #
68 # AddDescription allows you to place a short description after a file in
69 # server-generated indexes. These are only displayed for FancyIndexed
70 # directories.
71 # Format: AddDescription "description" filename
72 #
73 AddDescription "GZIP compressed document" .gz
74 AddDescription "tar archive" .tar
75 AddDescription "GZIP compressed tar archive" .tgz
76
77 #
78 # ReadmeName is the name of the README file the server will look for by
79 # default, and append to directory listings.
80 #
81 # HeaderName is the name of a file which should be prepended to
82 # directory indexes.
83 #
84 # If MultiViews are amongst the Options in effect, the server will
85 # first look for name.html and include it if found. If name.html
86 # doesn't exist, the server will then look for name.txt and include
87 # it as plaintext if found.
88 #
89 ReadmeName README
90 HeaderName HEADER
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
b03c0ab2 98</IfModule>
This page took 0.086306 seconds and 4 git commands to generate.