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