httpd-autoindex.conf 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. # IndexOptions: Controls the appearance of server-generated directory
  13. # listings.
  14. #
  15. IndexOptions FancyIndexing HTMLTable VersionSort
  16. # We include the /icons/ alias for FancyIndexed directory listings. If
  17. # you do not use FancyIndexing, you may comment this out.
  18. #
  19. Alias /icons/ "${SRVROOT}/icons/"
  20. <Directory "${SRVROOT}/icons">
  21. Options Indexes MultiViews
  22. AllowOverride None
  23. Require all granted
  24. </Directory>
  25. #
  26. # AddIcon* directives tell the server which icon to show for different
  27. # files or filename extensions. These are only displayed for
  28. # FancyIndexed directories.
  29. #
  30. AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
  31. AddIconByType (TXT,/icons/text.gif) text/*
  32. AddIconByType (IMG,/icons/image2.gif) image/*
  33. AddIconByType (SND,/icons/sound2.gif) audio/*
  34. AddIconByType (VID,/icons/movie.gif) video/*
  35. AddIcon /icons/binary.gif .bin .exe
  36. AddIcon /icons/binhex.gif .hqx
  37. AddIcon /icons/tar.gif .tar
  38. AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
  39. AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
  40. AddIcon /icons/a.gif .ps .ai .eps
  41. AddIcon /icons/layout.gif .html .shtml .htm .pdf
  42. AddIcon /icons/text.gif .txt
  43. AddIcon /icons/c.gif .c
  44. AddIcon /icons/p.gif .pl .py
  45. AddIcon /icons/f.gif .for
  46. AddIcon /icons/dvi.gif .dvi
  47. AddIcon /icons/uuencoded.gif .uu
  48. AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
  49. AddIcon /icons/tex.gif .tex
  50. AddIcon /icons/bomb.gif core
  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. #
  59. DefaultIcon /icons/unknown.gif
  60. #
  61. # AddDescription allows you to place a short description after a file in
  62. # server-generated indexes. These are only displayed for FancyIndexed
  63. # directories.
  64. # Format: AddDescription "description" filename
  65. #
  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. #
  81. IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t