PageRenderTime 62ms CodeModel.GetById 59ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/apache2/mods-available/autoindex.conf

http://github.com/brinkman83/bashrc
Config | 101 lines | 89 code | 12 blank | 0 comment | 0 complexity | 77ea294b47d8d2e4dc68107907da8311 MD5 | raw file
  1<IfModule mod_autoindex.c>
  2#
  3# Directives controlling the display of server-generated directory listings.
  4#
  5
  6#
  7# IndexOptions: Controls the appearance of server-generated directory
  8# listings.
  9# Remove/replace the "Charset=UTF-8" if you don't use UTF-8 for your filenames.
 10#
 11IndexOptions FancyIndexing VersionSort HTMLTable NameWidth=* DescriptionWidth=* Charset=UTF-8
 12
 13#
 14# AddIcon* directives tell the server which icon to show for different
 15# files or filename extensions.  These are only displayed for
 16# FancyIndexed directories.
 17#
 18AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip x-bzip2
 19
 20AddIconByType (TXT,/icons/text.gif) text/*
 21AddIconByType (IMG,/icons/image2.gif) image/*
 22AddIconByType (SND,/icons/sound2.gif) audio/*
 23AddIconByType (VID,/icons/movie.gif) video/*
 24
 25AddIcon /icons/binary.gif .bin .exe
 26AddIcon /icons/binhex.gif .hqx
 27AddIcon /icons/tar.gif .tar
 28AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
 29AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
 30AddIcon /icons/a.gif .ps .ai .eps
 31AddIcon /icons/layout.gif .html .shtml .htm .pdf
 32AddIcon /icons/text.gif .txt
 33AddIcon /icons/c.gif .c
 34AddIcon /icons/p.gif .pl .py
 35AddIcon /icons/f.gif .for
 36AddIcon /icons/dvi.gif .dvi
 37AddIcon /icons/uuencoded.gif .uu
 38AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
 39AddIcon /icons/tex.gif .tex
 40# It's a suffix rule, so simply matching "core" matches "score" as well !
 41AddIcon /icons/bomb.gif /core
 42AddIcon (SND,/icons/sound2.gif) .ogg
 43AddIcon (VID,/icons/movie.gif) .ogm
 44
 45AddIcon /icons/back.gif ..
 46AddIcon /icons/hand.right.gif README
 47AddIcon /icons/folder.gif ^^DIRECTORY^^
 48AddIcon /icons/blank.gif ^^BLANKICON^^
 49
 50# Default icons for OpenDocument format
 51AddIcon /icons/odf6odt-20x22.png .odt
 52AddIcon /icons/odf6ods-20x22.png .ods
 53AddIcon /icons/odf6odp-20x22.png .odp
 54AddIcon /icons/odf6odg-20x22.png .odg
 55AddIcon /icons/odf6odc-20x22.png .odc
 56AddIcon /icons/odf6odf-20x22.png .odf
 57AddIcon /icons/odf6odb-20x22.png .odb
 58AddIcon /icons/odf6odi-20x22.png .odi
 59AddIcon /icons/odf6odm-20x22.png .odm
 60
 61AddIcon /icons/odf6ott-20x22.png .ott
 62AddIcon /icons/odf6ots-20x22.png .ots
 63AddIcon /icons/odf6otp-20x22.png .otp
 64AddIcon /icons/odf6otg-20x22.png .otg
 65AddIcon /icons/odf6otc-20x22.png .otc
 66AddIcon /icons/odf6otf-20x22.png .otf
 67AddIcon /icons/odf6oti-20x22.png .oti
 68AddIcon /icons/odf6oth-20x22.png .oth
 69
 70#
 71# DefaultIcon is which icon to show for files which do not have an icon
 72# explicitly set.
 73#
 74DefaultIcon /icons/unknown.gif
 75
 76#
 77# AddDescription allows you to place a short description after a file in
 78# server-generated indexes.  These are only displayed for FancyIndexed
 79# directories.
 80# Format: AddDescription "description" filename
 81#
 82#AddDescription "GZIP compressed document" .gz
 83#AddDescription "tar archive" .tar
 84#AddDescription "GZIP compressed tar archive" .tgz
 85
 86#
 87# ReadmeName is the name of the README file the server will look for by
 88# default, and append to directory listings.
 89#
 90# HeaderName is the name of a file which should be prepended to
 91# directory indexes. 
 92ReadmeName README.html
 93HeaderName HEADER.html
 94
 95#
 96# IndexIgnore is a set of filenames which directory indexing should ignore
 97# and not include in the listing.  Shell-style wildcarding is permitted.
 98#
 99IndexIgnore .??* *~ *# RCS CVS *,v *,t 
100
101</IfModule>