Blame Identity/Webenv/Apache/2.2.3-11.el5_1.centos.3/apache.conf

4c79b5
# **********************************************************
4c79b5
# CentOS Customization for Apache.
4c79b5
#
4c79b5
# -- The CentOS Artwork SIG.
4c79b5
4c79b5
4c79b5
# 1. Directives controlling of server-generated directory listings.
4c79b5
#
4c79b5
# IndexOptions: Controls the appearance of server-generated directory
4c79b5
# listings.
4c79b5
#
4c79b5
IndexOptions FancyIndexing VersionSort NameWidth=* HTMLTable
4c79b5
IndexOptions IconsAreLinks SuppressHTMLPreamble SuppressDescription
4c79b5
4c79b5
# AddIcon* directives tell the server which icon to show for different
4c79b5
# files or filename extensions.  These are only displayed for
4c79b5
# FancyIndexed directories.
4c79b5
#
4c79b5
AddIcon /icons/binary.png .bin .exe
4c79b5
AddIcon /icons/cd.png .iso
4c79b5
AddIcon /icons/layout.png .pdf .odt
4c79b5
AddIcon /icons/text.png .txt
4c79b5
AddIcon /icons/warning.png README
4c79b5
AddIcon /icons/html.png .htm .html .shtml
4c79b5
AddIcon /icons/inkscape.png .svg
4c79b5
AddIcon /icons/script.png .conf .sh .shar .csh .ksh .tcl .php .pl .cgi .py
4c79b5
AddIcon /icons/compressed.png .Z .z .tgz .gz .zip .tbz .bz2 .tar.gz .tar.bz2 .rpm .srpm .tar
4c79b5
4c79b5
AddIconByEncoding (CMP,/icons/compressed.png) x-compress x-gzip
4c79b5
4c79b5
AddIconByType (TXT,/icons/text.png) text/*
4c79b5
AddIconByType (IMG,/icons/image.png) image/*
4c79b5
AddIconByType (SND,/icons/sound.png) audio/*
4c79b5
AddIconByType (VID,/icons/movie.png) video/*
4c79b5
4c79b5
AddIcon /icons/back.png ..
4c79b5
AddIcon /icons/folder.png ^^DIRECTORY^^
4c79b5
AddIcon /icons/blank.gif ^^BLANKICON^^
4c79b5
4c79b5
#
4c79b5
# DefaultIcon is which icon to show for files which do not have an icon
4c79b5
# explicitly set.
4c79b5
#
4c79b5
DefaultIcon /icons/unknown.png
4c79b5
4c79b5
#
4c79b5
# AddDescription allows you to place a short description after a file in
4c79b5
# server-generated indexes.  These are only displayed for FancyIndexed
4c79b5
# directories.
4c79b5
# Format: AddDescription "description" filename
4c79b5
#
4c79b5
#AddDescription "GZIP compressed document" .gz
4c79b5
#AddDescription "tar archive" .tar
4c79b5
#AddDescription "GZIP compressed tar archive" .tgz
4c79b5
4c79b5
# ReadmeName is the name of the README file the server will look for by
4c79b5
# default, and append to directory listings.
4c79b5
#
4c79b5
# HeaderName is the name of a file which should be prepended to
4c79b5
# directory indexes.
4c79b5
HeaderName /downloads/HEADER.html
4c79b5
ReadmeName /README.html
4c79b5
4c79b5
# User HEADER configuration by location.
4c79b5
#
4c79b5
<Directory "/var/www/html/docs">
4c79b5
    HeaderName /docs/HEADER.html 
4c79b5
</Directory>
4c79b5
<Directory "/var/www/html/people/">
4c79b5
    HeaderName /people/HEADER.html 
4c79b5
</Directory>
4c79b5
<Directory "/var/www/html/people/user-1">
4c79b5
    HeaderName /people/user-1/HEADER.html 
4c79b5
</Directory>
4c79b5
<Directory "/var/www/html/people/user-2">
4c79b5
    HeaderName /people/user-2/HEADER.html 
4c79b5
</Directory>
4c79b5
4c79b5
#
4c79b5
# IndexIgnore is a set of filenames which directory indexing should ignore
4c79b5
# and not include in the listing.  Shell-style wildcarding is permitted.
4c79b5
#
4c79b5
IndexIgnore .??* *~ *# HEADER* README.html RCS CVS *,v *,t