| 1 |
<IfModule alias_module>
|
| 2 |
<IfModule autoindex_module>
|
| 3 |
# Directives controlling the display of server-generated directory listings.
|
| 4 |
#
|
| 5 |
# To see the listing of a directory, the Options directive for the
|
| 6 |
# directory must include "Indexes", and the directory must not contain
|
| 7 |
# a file matching those listed in the DirectoryIndex directive.
|
| 8 |
|
| 9 |
# IndexOptions: Controls the appearance of server-generated directory
|
| 10 |
# listings.
|
| 11 |
IndexOptions FancyIndexing VersionSort
|
| 12 |
|
| 13 |
# We include the /icons/ alias for FancyIndexed directory listings. If
|
| 14 |
# you do not use FancyIndexing, you may comment this out.
|
| 15 |
Alias /icons/ "/var/www/localhost/icons/"
|
| 16 |
|
| 17 |
<Directory "/var/www/localhost/icons">
|
| 18 |
Options Indexes MultiViews
|
| 19 |
AllowOverride None
|
| 20 |
Order allow,deny
|
| 21 |
Allow from all
|
| 22 |
</Directory>
|
| 23 |
|
| 24 |
# AddIcon* directives tell the server which icon to show for different
|
| 25 |
# files or filename extensions. These are only displayed for
|
| 26 |
# FancyIndexed directories.
|
| 27 |
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
|
| 28 |
|
| 29 |
AddIconByType (TXT,/icons/text.gif) text/*
|
| 30 |
AddIconByType (IMG,/icons/image2.gif) image/*
|
| 31 |
AddIconByType (SND,/icons/sound2.gif) audio/*
|
| 32 |
AddIconByType (VID,/icons/movie.gif) video/*
|
| 33 |
|
| 34 |
AddIcon /icons/binary.gif .bin .exe
|
| 35 |
AddIcon /icons/binhex.gif .hqx
|
| 36 |
AddIcon /icons/tar.gif .tar
|
| 37 |
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
|
| 38 |
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
|
| 39 |
AddIcon /icons/a.gif .ps .ai .eps
|
| 40 |
AddIcon /icons/layout.gif .html .shtml .htm .pdf
|
| 41 |
AddIcon /icons/text.gif .txt
|
| 42 |
AddIcon /icons/c.gif .c
|
| 43 |
AddIcon /icons/p.gif .pl .py
|
| 44 |
AddIcon /icons/f.gif .for
|
| 45 |
AddIcon /icons/dvi.gif .dvi
|
| 46 |
AddIcon /icons/uuencoded.gif .uu
|
| 47 |
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
|
| 48 |
AddIcon /icons/tex.gif .tex
|
| 49 |
AddIcon /icons/bomb.gif core
|
| 50 |
|
| 51 |
AddIcon /icons/back.gif ..
|
| 52 |
AddIcon /icons/hand.right.gif README
|
| 53 |
AddIcon /icons/folder.gif ^^DIRECTORY^^
|
| 54 |
AddIcon /icons/blank.gif ^^BLANKICON^^
|
| 55 |
|
| 56 |
# DefaultIcon is which icon to show for files which do not have an icon
|
| 57 |
# explicitly set.
|
| 58 |
DefaultIcon /icons/unknown.gif
|
| 59 |
|
| 60 |
# AddDescription allows you to place a short description after a file in
|
| 61 |
# server-generated indexes. These are only displayed for FancyIndexed
|
| 62 |
# directories.
|
| 63 |
# Format: AddDescription "description" filename
|
| 64 |
|
| 65 |
#AddDescription "GZIP compressed document" .gz
|
| 66 |
#AddDescription "tar archive" .tar
|
| 67 |
#AddDescription "GZIP compressed tar archive" .tgz
|
| 68 |
|
| 69 |
# ReadmeName is the name of the README file the server will look for by
|
| 70 |
# default, and append to directory listings.
|
| 71 |
|
| 72 |
# HeaderName is the name of a file which should be prepended to
|
| 73 |
# directory indexes.
|
| 74 |
ReadmeName README.html
|
| 75 |
HeaderName HEADER.html
|
| 76 |
|
| 77 |
# IndexIgnore is a set of filenames which directory indexing should ignore
|
| 78 |
# and not include in the listing. Shell-style wildcarding is permitted.
|
| 79 |
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
|
| 80 |
</IfModule>
|
| 81 |
</IfModule>
|
| 82 |
|
| 83 |
# vim: ts=4 filetype=apache
|