Blame Artworks/Webenv/Httpd/2.2.3-74.el5/webenv.conf

Alain Reguera Delgado added3
######################################################################
Alain Reguera Delgado added3
# 
Alain Reguera Delgado added3
#   webenv.conf -- This httpd configuration file customizes the
Alain Reguera Delgado added3
#   presentation of errors and directory listing screens produced by
Alain Reguera Delgado added3
#   httpd. The customization is based on The CentOS Project corporate
Alain Reguera Delgado added3
#   visual style.
Alain Reguera Delgado added3
#
Alain Reguera Delgado added3
# Copyright (C) 2013 The CentOS Artwork SIG
Alain Reguera Delgado added3
#
Alain Reguera Delgado added3
# This configuration is free software; you can redistribute it and/or
Alain Reguera Delgado added3
# modify it under the terms of the GNU General Public License as
Alain Reguera Delgado added3
# published by the Free Software Foundation; either version 2 of the
Alain Reguera Delgado added3
# License, or (at your option) any later version.
Alain Reguera Delgado added3
#
Alain Reguera Delgado added3
# This configuration file is distributed in the hope that it will be
Alain Reguera Delgado added3
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty
Alain Reguera Delgado added3
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Alain Reguera Delgado added3
# General Public License for more details.
Alain Reguera Delgado added3
#
Alain Reguera Delgado added3
# You should have received a copy of the GNU General Public License
Alain Reguera Delgado added3
# along with this program; if not, write to the Free Software
Alain Reguera Delgado added3
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Alain Reguera Delgado added3
#
Alain Reguera Delgado added3
######################################################################
Alain Reguera Delgado added3
Alain Reguera Delgado added3
Alias /webenv "/var/www/webenv"
Alain Reguera Delgado added3
Alain Reguera Delgado added3
######################################################################
Alain Reguera Delgado 1a345a
# Rewrite URL to use secure (SSL/TSL) connection.
Alain Reguera Delgado 1a345a
######################################################################
Alain Reguera Delgado 1a345a
Alain Reguera Delgado 1a345a
RewriteEngine On
Alain Reguera Delgado 1a345a
RewriteCond %{HTTPS} !=on
Alain Reguera Delgado 1a345a
RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [R,L]
Alain Reguera Delgado 1a345a
Alain Reguera Delgado 1a345a
######################################################################
Alain Reguera Delgado added3
# Error Screens' Customization
Alain Reguera Delgado added3
######################################################################
Alain Reguera Delgado added3
Alain Reguera Delgado added3
Alias /error/include/ "/var/www/webenv/errors/"
Alain Reguera Delgado added3
Alain Reguera Delgado added3
<IfModule mod_include.c>
Alain Reguera Delgado added3
Alain Reguera Delgado added3
    <Directory "/var/www/webenv/errors">
Alain Reguera Delgado added3
        AllowOverride None
Alain Reguera Delgado added3
        Options IncludesNoExec
Alain Reguera Delgado added3
        AddOutputFilter Includes html
Alain Reguera Delgado added3
        Order allow,deny
Alain Reguera Delgado added3
        Allow from all
Alain Reguera Delgado added3
    </Directory>
Alain Reguera Delgado added3
    
Alain Reguera Delgado added3
    ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
Alain Reguera Delgado added3
    ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
Alain Reguera Delgado added3
    ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
Alain Reguera Delgado added3
    ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
Alain Reguera Delgado added3
    ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
Alain Reguera Delgado added3
    ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
Alain Reguera Delgado added3
    ErrorDocument 410 /error/HTTP_GONE.html.var
Alain Reguera Delgado added3
    ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
Alain Reguera Delgado added3
    ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
Alain Reguera Delgado added3
    ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
Alain Reguera Delgado added3
    ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
Alain Reguera Delgado added3
    ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
Alain Reguera Delgado added3
    ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
Alain Reguera Delgado added3
    ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
Alain Reguera Delgado added3
    ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
Alain Reguera Delgado added3
    ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
Alain Reguera Delgado added3
    ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
Alain Reguera Delgado added3
Alain Reguera Delgado added3
</IfModule>
Alain Reguera Delgado added3
Alain Reguera Delgado added3
######################################################################
Alain Reguera Delgado added3
# Directory Listing's Customization
Alain Reguera Delgado added3
######################################################################
Alain Reguera Delgado added3
Alain Reguera Delgado added3
# Control the appearance of server-generated directory listings.
Alain Reguera Delgado 3471a2
IndexOptions FancyIndexing VersionSort SuppressHtmlPreamble IconsAreLinks 
Alain Reguera Delgado added3
Alain Reguera Delgado added3
# Tell the server which icon to show for different files or filename
Alain Reguera Delgado added3
# extensions.  These are only displayed for FancyIndexed directories.
Alain Reguera Delgado added3
AddIcon /webenv/images/icon-binary.png .bin .exe
Alain Reguera Delgado added3
AddIcon /webenv/images/icon-cd.png .iso
Alain Reguera Delgado added3
AddIcon /webenv/images/icon-layout.png .pdf .odt
Alain Reguera Delgado added3
AddIcon /webenv/images/icon-text.png .txt
Alain Reguera Delgado added3
AddIcon /webenv/images/icon-warning.png README
Alain Reguera Delgado added3
AddIcon /webenv/images/icon-html.png .htm .html .shtml
Alain Reguera Delgado added3
AddIcon /webenv/images/icon-inkscape.png .svg
Alain Reguera Delgado added3
AddIcon /webenv/images/icon-script.png .conf .sh .shar .csh .ksh .tcl .php .pl .cgi .py
Alain Reguera Delgado added3
AddIcon /webenv/images/icon-compressed.png .Z .z .tgz .gz .zip .tbz .bz2 .tar.gz .tar.bz2 .rpm .srpm .tar
Alain Reguera Delgado added3
Alain Reguera Delgado added3
AddIconByEncoding (CMP,/images/icon-compressed.png) x-compress x-gzip
Alain Reguera Delgado added3
Alain Reguera Delgado added3
AddIconByType (TXT,/webenv/images/icon-text.png) text/*
Alain Reguera Delgado added3
AddIconByType (IMG,/webenv/images/icon-image.png) image/*
Alain Reguera Delgado added3
AddIconByType (SND,/webenv/images/icon-sound.png) audio/*
Alain Reguera Delgado added3
AddIconByType (VID,/webenv/images/icon-movie.png) video/*
Alain Reguera Delgado added3
Alain Reguera Delgado added3
AddIcon /webenv/images/icon-back.png ..
Alain Reguera Delgado added3
AddIcon /webenv/images/icon-folder.png ^^DIRECTORY^^
Alain Reguera Delgado added3
AddIcon /icons/blank.gif ^^BLANKICON^^
Alain Reguera Delgado added3
Alain Reguera Delgado added3
# DefaultIcon is which icon to show for files which do not have an icon
Alain Reguera Delgado added3
# explicitly set.
Alain Reguera Delgado added3
DefaultIcon /webenv/images/icon-unknown.png
Alain Reguera Delgado added3
Alain Reguera Delgado added3
# Name of the file that will be inserted at the top of the index
Alain Reguera Delgado added3
# listing.  
Alain Reguera Delgado added3
<Directory "/home/*/public_html">
Alain Reguera Delgado added3
    HeaderName /webenv/indexes/top.html
Alain Reguera Delgado added3
    ReadmeName /webenv/indexes/bottom.html
Alain Reguera Delgado added3
</Directory>
Alain Reguera Delgado added3
Alain Reguera Delgado added3
# Allow Server Side Includes (SSI) for top and bottom files, so we can
Alain Reguera Delgado added3
# expand system variables like REQUEST_URI inside them.
Alain Reguera Delgado added3
<IfModule mod_negotiation.c>
Alain Reguera Delgado added3
<IfModule mod_include.c>
Alain Reguera Delgado added3
<Directory "/var/www/webenv/indexes">
Alain Reguera Delgado added3
    AllowOverride None
Alain Reguera Delgado added3
    Options IncludesNoExec
Alain Reguera Delgado added3
    AddOutputFilter Includes html
Alain Reguera Delgado added3
    Order allow,deny
Alain Reguera Delgado added3
    Allow from all
Alain Reguera Delgado added3
    AddHandler type-map var
Alain Reguera Delgado added3
    LanguagePriority en es de fr
Alain Reguera Delgado added3
    ForceLanguagePriority Prefer Fallback
Alain Reguera Delgado added3
</Directory>
Alain Reguera Delgado added3
</IfModule>
Alain Reguera Delgado added3
</IfModule>
Alain Reguera Delgado added3
Alain Reguera Delgado added3
# Set short description after a file in server-generated indexes.
Alain Reguera Delgado added3
# These are only displayed for FancyIndexed directories.
Alain Reguera Delgado added3
# Format: AddDescription "description" filename
Alain Reguera Delgado added3
#AddDescription "GZIP compressed document" .gz
Alain Reguera Delgado added3
#AddDescription "tar archive" .tar
Alain Reguera Delgado added3
#AddDescription "GZIP compressed tar archive" .tgz
Alain Reguera Delgado added3
Alain Reguera Delgado added3
# Set filenames which directory indexing should ignore and not
Alain Reguera Delgado added3
# include in the listing.  Shell-style wildcarding is permitted.
Alain Reguera Delgado added3
IndexIgnore .??* *~ *# HEADER* README.html RCS CVS *,v *,t