Blame Artworks/Webenv/Httpd/2.2.3/apache.conf

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