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