52 lines
1.5 KiB
Plaintext
52 lines
1.5 KiB
Plaintext
#
|
|
# Directives controlling the display of server-generated directory listings.
|
|
#
|
|
# see https://httpd.apache.org/docs/2.4/mod/mod_autoindex.html
|
|
#
|
|
|
|
<IfModule mod_autoindex.c>
|
|
|
|
IndexOptions FancyIndexing VersionSort NameWidth=*
|
|
|
|
# Add Last-Modified and ETag values for the listed directory in the HTTP header,
|
|
# based on files' modification dates
|
|
#IndexOptions +TrackModified
|
|
|
|
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
|
|
|
|
AddIconByType (TXT,/icons/text.gif) text/*
|
|
AddIconByType (IMG,/icons/image2.gif) image/*
|
|
AddIconByType (SND,/icons/sound2.gif) audio/*
|
|
AddIconByType (VID,/icons/movie.gif) video/*
|
|
|
|
AddIcon /icons/binary.gif .bin .exe
|
|
AddIcon /icons/binhex.gif .hqx
|
|
AddIcon /icons/tar.gif .tar
|
|
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
|
|
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
|
|
AddIcon /icons/a.gif .ps .ai .eps
|
|
AddIcon /icons/layout.gif .html .shtml .htm .pdf
|
|
AddIcon /icons/text.gif .txt
|
|
AddIcon /icons/c.gif .c
|
|
AddIcon /icons/p.gif .pl .py
|
|
AddIcon /icons/f.gif .for
|
|
AddIcon /icons/dvi.gif .dvi
|
|
AddIcon /icons/uuencoded.gif .uu
|
|
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
|
|
AddIcon /icons/tex.gif .tex
|
|
AddIcon /icons/bomb.gif core
|
|
|
|
AddIcon /icons/back.gif ..
|
|
AddIcon /icons/hand.right.gif README
|
|
AddIcon /icons/folder.gif ^^DIRECTORY^^
|
|
AddIcon /icons/blank.gif ^^BLANKICON^^
|
|
|
|
DefaultIcon /icons/unknown.gif
|
|
|
|
ReadmeName README.html
|
|
HeaderName HEADER.html
|
|
|
|
IndexIgnore .??* *~ *# HEADER* RCS CVS *,v *,t
|
|
|
|
</IfModule>
|