From added38c3f6d622b0c554313747a381378da57ba Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Sep 06 2013 00:54:25 +0000 Subject: Add visual style customization for httpd-2.2.3-74.el5. - The customization committed here is focused in error screens and directory-listing screens produced by httpd. The customization uses The CentOS Project corporate visual style. - The customization committed here, onces installed, will survive updates of httpd package because we set the configuration stuff in our own configuration file (webenv.conf) under /etc/httpd/conf.d/ directory and move out all the errors, images and indexes stuff out to a directory (/var/www/webenv) of their own. Such directory is aliased in webenv.conf file so its content can be accessible. - The customization committed here makes use of httpd server side includes (SSI) to display dynamic content. When httpd does directory listing, we use SSI to read the REQUEST_URI variable, provide localization to "Index of" phrase and print the current year at page bottom (near the copyright word). When httpd prints error screens, we use SSI to show localization messages using httpd default messages. --- diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/errors/bottom.html b/Artworks/Webenv/Httpd/2.2.3-74.el5/errors/bottom.html new file mode 100644 index 0000000..57f1944 --- /dev/null +++ b/Artworks/Webenv/Httpd/2.2.3-74.el5/errors/bottom.html @@ -0,0 +1,18 @@ +

+ +

+ +

+ +

+ +

Error

+
+ - +
+ + + + + + diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/errors/stylesheet.css b/Artworks/Webenv/Httpd/2.2.3-74.el5/errors/stylesheet.css new file mode 100644 index 0000000..3eb61ad --- /dev/null +++ b/Artworks/Webenv/Httpd/2.2.3-74.el5/errors/stylesheet.css @@ -0,0 +1,55 @@ +/* + * stylesheet.css -- This file customizes the error screens produced + * by httpd, using The CentOS Project corporate visual style. + * + * Copyright (C) 2013 The CentOS Artwork SIG + * + * This CSS is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This CSS is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +/* Reset browser and set default values. +-----------------------------------------------*/ +@import url(../stylesheet.css); + +/* +-----------------------------------------------*/ + +body { + background: transparent; + } + +h2 { + border-top: 1px solid #ccc; + } + +#message { + background: #FFF; + margin: 60px 10%; + border-radius: 5px; + border: 1px solid #CCC; + } + +#message-content { + padding: 15px 30px; + } + +#footer { + font-size: x-small; + } + +address { + margin: 0; + } diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/errors/suggestion.html.var b/Artworks/Webenv/Httpd/2.2.3-74.el5/errors/suggestion.html.var new file mode 100644 index 0000000..150a748 --- /dev/null +++ b/Artworks/Webenv/Httpd/2.2.3-74.el5/errors/suggestion.html.var @@ -0,0 +1,12 @@ +Content-language: en +Content-type: text/html; charset=ISO-8859-1 +Body:----------en-- +Or, if you are lost, go to home page so you can start again. +----------en-- + +Content-language: es +Content-type: text/html; charset=ISO-8859-1 +Body:----------es-- +O, si usted está perdido, vaya a la página +inicial para que pueda comenzar de nuevo. +----------es-- diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/errors/top.html b/Artworks/Webenv/Httpd/2.2.3-74.el5/errors/top.html new file mode 100644 index 0000000..f65400b --- /dev/null +++ b/Artworks/Webenv/Httpd/2.2.3-74.el5/errors/top.html @@ -0,0 +1,21 @@ +"?> + +" xml:lang=""> + +<!--#echo encoding="none" var="TITLE" --> +" /> + + + + +
+
+

+

diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/centos-people-logo.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/centos-people-logo.png new file mode 100644 index 0000000..d9c9887 Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/centos-people-logo.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/favicon.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/favicon.png new file mode 100755 index 0000000..46a727e Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/favicon.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/h1.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/h1.png new file mode 100755 index 0000000..003128c Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/h1.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/h2.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/h2.png new file mode 100755 index 0000000..7966dc0 Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/h2.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/header.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/header.png new file mode 100755 index 0000000..db54c7e Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/header.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/html.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/html.png new file mode 100755 index 0000000..ccfa402 Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/html.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-back.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-back.png new file mode 100755 index 0000000..e53aef7 Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-back.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-binary.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-binary.png new file mode 100755 index 0000000..2bb2adf Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-binary.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-cd.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-cd.png new file mode 100755 index 0000000..40add33 Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-cd.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-compressed.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-compressed.png new file mode 100755 index 0000000..7d2fcad Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-compressed.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-folder.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-folder.png new file mode 100755 index 0000000..b275e71 Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-folder.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-html.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-html.png new file mode 100755 index 0000000..4125479 Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-html.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-image.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-image.png new file mode 100755 index 0000000..88cb25f Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-image.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-inkscape.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-inkscape.png new file mode 100755 index 0000000..eaeea14 Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-inkscape.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-layout.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-layout.png new file mode 100755 index 0000000..ae58127 Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-layout.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-movie.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-movie.png new file mode 100755 index 0000000..b9f5e33 Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-movie.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-powered_by_rh.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-powered_by_rh.png new file mode 100755 index 0000000..0d4f578 Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-powered_by_rh.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-script.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-script.png new file mode 100755 index 0000000..c5418c5 Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-script.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-sound.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-sound.png new file mode 100755 index 0000000..4b68717 Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-sound.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-text.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-text.png new file mode 100755 index 0000000..10ac578 Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-text.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-unknown.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-unknown.png new file mode 100755 index 0000000..a709011 Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-unknown.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-warning.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-warning.png new file mode 100755 index 0000000..a25f757 Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/icon-warning.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/message-error.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/message-error.png new file mode 100755 index 0000000..2dfcf09 Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/message-error.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/message-success.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/message-success.png new file mode 100755 index 0000000..f4ca7ca Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/message-success.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/message-warning.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/message-warning.png new file mode 100755 index 0000000..25a57b5 Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/message-warning.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/message.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/message.png new file mode 100755 index 0000000..7a816cf Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/message.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/navibartop-hover.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/navibartop-hover.png new file mode 100755 index 0000000..1d5596e Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/navibartop-hover.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/navibartop.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/navibartop.png new file mode 100755 index 0000000..936da33 Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/navibartop.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/ul.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/ul.png new file mode 100755 index 0000000..fd89ccd Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/ul.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/images/unknown.png b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/unknown.png new file mode 100755 index 0000000..bb4cc0c Binary files /dev/null and b/Artworks/Webenv/Httpd/2.2.3-74.el5/images/unknown.png differ diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/indexes/bottom.html b/Artworks/Webenv/Httpd/2.2.3-74.el5/indexes/bottom.html new file mode 100644 index 0000000..e53f7bf --- /dev/null +++ b/Artworks/Webenv/Httpd/2.2.3-74.el5/indexes/bottom.html @@ -0,0 +1,19 @@ + +

+
+ + diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/indexes/indexof.html.var b/Artworks/Webenv/Httpd/2.2.3-74.el5/indexes/indexof.html.var new file mode 100644 index 0000000..d24ec9d --- /dev/null +++ b/Artworks/Webenv/Httpd/2.2.3-74.el5/indexes/indexof.html.var @@ -0,0 +1,11 @@ +Content-language: en +Content-type: text/html; charset=ISO-8859-1 +Body:----------en-- +Index of +----------en-- + +Content-language: es +Content-type: text/html; charset=ISO-8859-1 +Body:----------es-- +Índice de +----------es-- diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/indexes/stylesheet.css b/Artworks/Webenv/Httpd/2.2.3-74.el5/indexes/stylesheet.css new file mode 100755 index 0000000..1511d74 --- /dev/null +++ b/Artworks/Webenv/Httpd/2.2.3-74.el5/indexes/stylesheet.css @@ -0,0 +1,126 @@ +/* + * stylesheet.css -- This file customizes the directory listing + * screens produced by httpd, using The CentOS Project corporate + * visual style. + * + * Copyright (C) 2013 The CentOS Artwork SIG + * + * This CSS is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This CSS is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +/* Reset browser's default values. +-----------------------------------------------*/ +@import url(../stylesheet.css); + +/* +-----------------------------------------------*/ + +body { + padding: 0px; +} + +/* Tables +-----------------------------------------------*/ + +table { + border-collapse: collapse; +} + +table tr td, +table tr th { + border: none; + padding: 0.3em; + vertical-align: middle; +} + +address { line-height: 2em; color: #ccc; font-size: small;} + +#wrap, +#header, +#footer { + min-width: 728px; + } + +/* Header +-----------------------------------------------*/ + +#header, +#footer{ + background: #204C8D url("/webenv/images/header.png") 0 0 repeat; + min-height: 46px; + } + +/* Content +-----------------------------------------------*/ + +#wrap { + background-color: #FFF; + padding: 0 10px; + } + +#page { + padding: 10px; + } + +.pageline { + clear: both; + margin: 0; + padding: 0; + width: 100%; + /* sync these values, line-height is needed for IE */ + height: 5px; + line-height: 5px; + background: #628ECA; + } + +#logo img { + border: none; + margin-left: 10px; + } + +#content { + } + +#header .indexof { + border-bottom: 2px dotted #628ECA; + border-top: 1px solid #C9C9C9; +} + +#footer .indexof { + border-bottom: 1px solid #C9C9C9; + border-top: 2px dotted #628ECA; +} + +.indexof { + background: none repeat scroll 0 0 #EDF4FF; + clear: both; + display: block; + padding-left: 20px; + font-weight: bold; + line-height: 2em; +} + +#footer #credits { + color: #EEEEEE; + font-size: x-small; + padding: 1em; + text-align: left; +} + +#footer #credits a { + color: #FFF; + font-style: italic; + } diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/indexes/top.html b/Artworks/Webenv/Httpd/2.2.3-74.el5/indexes/top.html new file mode 100644 index 0000000..4200d65 --- /dev/null +++ b/Artworks/Webenv/Httpd/2.2.3-74.el5/indexes/top.html @@ -0,0 +1,18 @@ +
+ + + +
+ +
diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/stylesheet.css b/Artworks/Webenv/Httpd/2.2.3-74.el5/stylesheet.css new file mode 100755 index 0000000..fe2fe96 --- /dev/null +++ b/Artworks/Webenv/Httpd/2.2.3-74.el5/stylesheet.css @@ -0,0 +1,257 @@ +/* + * stylesheet.css -- This file resets the browser's default visual + * style using The CentOS Project corporate visual style. + * + * Copyright (C) 2013 The CentOS Artwork SIG + * + * This CSS is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This CSS is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +/* Reset browsers default margins and paddings +-----------------------------------------------*/ + +* { + margin: 0; + padding: 0; + } + +/* Define html +-----------------------------------------------*/ + +html { + background-color: #FFF; + background-image: url("/webenv/images/html.png"); + } + +/* Define body +-----------------------------------------------*/ + +body { + font-family: "DejaVu Sans", "Liberation Sans", sans-serif; + font-size: 0.85em; + margin: 0 30px 0 30px; /* <- with 30px of left and right margin */ + color: #000; + background: #FFF; + } + +/* Links +-----------------------------------------------*/ + +a:link { text-decoration: none; color: #0044B3; } +a:hover { text-decoration: underline; color: green; } +a:active { text-decoration: underline; color: green; } +a:visited { text-decoration: none; color: #0044B3; } +a:visited:hover { text-decoration: underline; color: green; } + +/* Headings +-----------------------------------------------*/ + +h1 { + font-size: 2em; + line-height: 1.5em; + } + +h2 { + font-size: 1.5em; + line-height: 1.5em; + margin-top: 1.5em; + } + +h3 { + font-size: 1.2em; + line-height: 1.2em; + margin-top: 1.2em; + } + +h4 { + font-size: 1.2em; + line-height: 1.2em; + margin-top: 1.2em; + } + +h5 { + font-size: 1.1em; + line-height: 1.1em; + margin-top: 1.1em; + } + +h6 { + font-size: 1em; + line-height: 1em; + margin-top: 1em; + } + +/* Paragraphs +-----------------------------------------------*/ + +p { + margin: 1em 0 1.5em 0; + line-height: 1.5em; + } + +/* Images +-----------------------------------------------*/ + +img { + border: none; + } + +/* Quotations +-----------------------------------------------*/ + +blockquote { + background: #fafafa; + border-color: #eeeeee; + border-width: 1px; + border-style: solid; + border-left-width: 4px; + margin-left: 1.5em; + padding: 0.5em; + margin-top: 1em; + margin-bottom: 1.3em; + } + +q:before { + content: " “"; + } + +q:after { + content: "” "; + } + +q q:before { + content: " ‘"; + } + +q q:after { + content: "’ "; + } + +address { + margin-left: 1.5em; + } + +/* Preformatted Texts +-----------------------------------------------*/ + +pre { + font-family: "DejaVu Sans Mono", "Liberation Mono", monospace; + padding: 0.7em 1em; + margin: 1em 0 1.5em 0; + white-space: pre; + border-width: 1px; + border-style: solid; + border-color: #E5E5E5; + border-left-width: 5px; + background: #FFFAE9; + overflow: auto; + } + +/* Phrase Elements +-----------------------------------------------*/ + +tt, +samp, +kbd, +code { + font-family: "DejaVu Sans Mono", "Liberation Mono", monospace; + white-space: nowrap; + } + +/* Page Lines +-----------------------------------------------*/ + +hr { + clear: both; + height: 1px ! important; + border: none; + background-color: #DADADA; + } + +/* Lists +-----------------------------------------------*/ + +ul, +ol, +dl { + margin: 1.5em 0 1.5em 2.5em; + } + +ul { + list-style: circle outside url("images/ul.png"); + } + +ol { + list-style-image: none !important; + } + +ul li, +ol li { + line-height: 1.5em; + } + +ul ul, +ul ol, +ol ul, +ol ol { + margin-top: 0.3em; + margin-bottom: 0.3em; + } + +ul li p, +ol li p { + margin-bottom: 0.3em; + } + +dl dd { + margin-left: 2.5em; + } + +dl ol, +dl ul { + margin-left: 3.5em; + } + +/* Tables +-----------------------------------------------*/ + +table { + border-collapse: collapse; + } + +table caption { + font-style: italic; + text-align: center; + } + +table tr th { + font-weight: bold; + } + +table tr td, +table tr th { + border: 1pt; + border-style: solid; + border-color: #CCC; + padding: 0.5em; + vertical-align: top; + } + +table tr td p, +table tr td pre { + margin: 0; + padding: 0; + } diff --git a/Artworks/Webenv/Httpd/2.2.3-74.el5/webenv.conf b/Artworks/Webenv/Httpd/2.2.3-74.el5/webenv.conf new file mode 100644 index 0000000..1e4f8c4 --- /dev/null +++ b/Artworks/Webenv/Httpd/2.2.3-74.el5/webenv.conf @@ -0,0 +1,132 @@ +###################################################################### +# +# webenv.conf -- This httpd configuration file customizes the +# presentation of errors and directory listing screens produced by +# httpd. The customization is based on The CentOS Project corporate +# visual style. +# +# Copyright (C) 2013 The CentOS Artwork SIG +# +# This configuration is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# This configuration file is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied warranty +# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# +###################################################################### + +Alias /webenv "/var/www/webenv" + +###################################################################### +# Error Screens' Customization +###################################################################### + +Alias /error/include/ "/var/www/webenv/errors/" + + + + + AllowOverride None + Options IncludesNoExec + AddOutputFilter Includes html + Order allow,deny + Allow from all + + + ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var + ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var + ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var + ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var + ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var + ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var + ErrorDocument 410 /error/HTTP_GONE.html.var + ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var + ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var + ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var + ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var + ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var + ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var + ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var + ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var + ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var + ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var + + + +###################################################################### +# Directory Listing's Customization +###################################################################### + +# Control the appearance of server-generated directory listings. +IndexOptions FancyIndexing VersionSort XHTML IconsAreLinks +IndexStyleSheet "/webenv/indexes/stylesheet.css" + +# Tell the server which icon to show for different files or filename +# extensions. These are only displayed for FancyIndexed directories. +AddIcon /webenv/images/icon-binary.png .bin .exe +AddIcon /webenv/images/icon-cd.png .iso +AddIcon /webenv/images/icon-layout.png .pdf .odt +AddIcon /webenv/images/icon-text.png .txt +AddIcon /webenv/images/icon-warning.png README +AddIcon /webenv/images/icon-html.png .htm .html .shtml +AddIcon /webenv/images/icon-inkscape.png .svg +AddIcon /webenv/images/icon-script.png .conf .sh .shar .csh .ksh .tcl .php .pl .cgi .py +AddIcon /webenv/images/icon-compressed.png .Z .z .tgz .gz .zip .tbz .bz2 .tar.gz .tar.bz2 .rpm .srpm .tar + +AddIconByEncoding (CMP,/images/icon-compressed.png) x-compress x-gzip + +AddIconByType (TXT,/webenv/images/icon-text.png) text/* +AddIconByType (IMG,/webenv/images/icon-image.png) image/* +AddIconByType (SND,/webenv/images/icon-sound.png) audio/* +AddIconByType (VID,/webenv/images/icon-movie.png) video/* + +AddIcon /webenv/images/icon-back.png .. +AddIcon /webenv/images/icon-folder.png ^^DIRECTORY^^ +AddIcon /icons/blank.gif ^^BLANKICON^^ + +# DefaultIcon is which icon to show for files which do not have an icon +# explicitly set. +DefaultIcon /webenv/images/icon-unknown.png + +# Name of the file that will be inserted at the top of the index +# listing. + + HeaderName /webenv/indexes/top.html + ReadmeName /webenv/indexes/bottom.html + + +# Allow Server Side Includes (SSI) for top and bottom files, so we can +# expand system variables like REQUEST_URI inside them. + + + + AllowOverride None + Options IncludesNoExec + AddOutputFilter Includes html + Order allow,deny + Allow from all + AddHandler type-map var + LanguagePriority en es de fr + ForceLanguagePriority Prefer Fallback + + + + +# Set short description after a file in server-generated indexes. +# These are only displayed for FancyIndexed directories. +# Format: AddDescription "description" filename +#AddDescription "GZIP compressed document" .gz +#AddDescription "tar archive" .tar +#AddDescription "GZIP compressed tar archive" .tgz + +# Set filenames which directory indexing should ignore and not +# include in the listing. Shell-style wildcarding is permitted. +IndexIgnore .??* *~ *# HEADER* README.html RCS CVS *,v *,t