autoindex.conf 3.1 KB

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