]> git.pld-linux.org Git - packages/apache.git/blame - apache-mod_autoindex.conf
- more verbose files in system-wide dirs
[packages/apache.git] / apache-mod_autoindex.conf
CommitLineData
1fee6743 1# $Id$
408714fc 2LoadModule 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#
95951eef 18IndexOptions FancyIndexing VersionSort Charset=UTF-8
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#
23Alias /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#
39AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
add0b1eb 40
78bb140c
ER
41AddIconByType (TXT,/icons/text.gif) text/*
42AddIconByType (IMG,/icons/image2.gif) image/*
43AddIconByType (SND,/icons/sound2.gif) audio/*
44AddIconByType (VID,/icons/movie.gif) video/*
add0b1eb 45
78bb140c
ER
46AddIcon /icons/binary.gif .bin .exe
47AddIcon /icons/binhex.gif .hqx
48AddIcon /icons/tar.gif .tar
49AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
50AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
51AddIcon /icons/a.gif .ps .ai .eps
52AddIcon /icons/layout.gif .html .shtml .htm .pdf
53AddIcon /icons/text.gif .txt
54AddIcon /icons/c.gif .c
55AddIcon /icons/p.gif .pl .py
56AddIcon /icons/f.gif .for
57AddIcon /icons/dvi.gif .dvi
58AddIcon /icons/uuencoded.gif .uu
59AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
60AddIcon /icons/tex.gif .tex
61AddIcon /icons/bomb.gif core
add0b1eb 62
78bb140c
ER
63AddIcon /icons/back.gif ..
64AddIcon /icons/hand.right.gif README
65AddIcon /icons/folder.gif ^^DIRECTORY^^
66AddIcon /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#
72DefaultIcon /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.
90ReadmeName README.html
91HeaderName 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#
97IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
add0b1eb 98
add0b1eb 99</IfModule>
This page took 0.049117 seconds and 4 git commands to generate.