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