github.com/krum110487/go-htaccess@v0.0.0-20240316004156-60641c8e7598/tests/data/apache_2_2_34/conf/extra/httpd-autoindex.conf (about)

     1  #
     2  # Directives controlling the display of server-generated directory listings.
     3  #
     4  # Required modules: mod_autoindex, mod_alias
     5  #
     6  # To see the listing of a directory, the Options directive for the
     7  # directory must include "Indexes", and the directory must not contain
     8  # a file matching those listed in the DirectoryIndex directive.
     9  #
    10  
    11  #
    12  # IndexOptions: Controls the appearance of server-generated directory
    13  # listings.
    14  #
    15  IndexOptions FancyIndexing HTMLTable VersionSort
    16  
    17  # We include the /icons/ alias for FancyIndexed directory listings.  If
    18  # you do not use FancyIndexing, you may comment this out.
    19  #
    20  Alias /icons/ "c:/Apache2/icons/"
    21  
    22  <Directory "c:/Apache2/icons">
    23      Options Indexes MultiViews
    24      AllowOverride None
    25      Order allow,deny
    26      Allow from all
    27  </Directory>
    28  
    29  #
    30  # AddIcon* directives tell the server which icon to show for different
    31  # files or filename extensions.  These are only displayed for
    32  # FancyIndexed directories.
    33  #
    34  AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
    35  
    36  AddIconByType (TXT,/icons/text.gif) text/*
    37  AddIconByType (IMG,/icons/image2.gif) image/*
    38  AddIconByType (SND,/icons/sound2.gif) audio/*
    39  AddIconByType (VID,/icons/movie.gif) video/*
    40  
    41  AddIcon /icons/binary.gif .bin .exe
    42  AddIcon /icons/binhex.gif .hqx
    43  AddIcon /icons/tar.gif .tar
    44  AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
    45  AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
    46  AddIcon /icons/a.gif .ps .ai .eps
    47  AddIcon /icons/layout.gif .html .shtml .htm .pdf
    48  AddIcon /icons/text.gif .txt
    49  AddIcon /icons/c.gif .c
    50  AddIcon /icons/p.gif .pl .py
    51  AddIcon /icons/f.gif .for
    52  AddIcon /icons/dvi.gif .dvi
    53  AddIcon /icons/uuencoded.gif .uu
    54  AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
    55  AddIcon /icons/tex.gif .tex
    56  AddIcon /icons/bomb.gif core
    57  
    58  AddIcon /icons/back.gif ..
    59  AddIcon /icons/hand.right.gif README
    60  AddIcon /icons/folder.gif ^^DIRECTORY^^
    61  AddIcon /icons/blank.gif ^^BLANKICON^^
    62  
    63  #
    64  # DefaultIcon is which icon to show for files which do not have an icon
    65  # explicitly set.
    66  #
    67  DefaultIcon /icons/unknown.gif
    68  
    69  #
    70  # AddDescription allows you to place a short description after a file in
    71  # server-generated indexes.  These are only displayed for FancyIndexed
    72  # directories.
    73  # Format: AddDescription "description" filename
    74  #
    75  #AddDescription "GZIP compressed document" .gz
    76  #AddDescription "tar archive" .tar
    77  #AddDescription "GZIP compressed tar archive" .tgz
    78  
    79  #
    80  # ReadmeName is the name of the README file the server will look for by
    81  # default, and append to directory listings.
    82  #
    83  # HeaderName is the name of a file which should be prepended to
    84  # directory indexes. 
    85  ReadmeName README.html
    86  HeaderName HEADER.html
    87  
    88  #
    89  # IndexIgnore is a set of filenames which directory indexing should ignore
    90  # and not include in the listing.  Shell-style wildcarding is permitted.
    91  #
    92  IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
    93