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