|
|
d864eb |
# centos-web.conf -- This file provides the configuration required by
|
|
|
d864eb |
# Apache HTTP server in order for `centos-web.cgi' script to be able
|
|
|
d864eb |
# of running through it.
|
|
|
d864eb |
#
|
|
|
d864eb |
# The configuration provided by this file assumes that you've
|
|
|
d864eb |
# installed the Apache HTTP server in your workstation and have also
|
|
|
30e7cd |
# configured it to public content inside the `public_html' directory
|
|
|
d864eb |
# inside the user's home directory. This configuration is mainly for
|
|
|
d864eb |
# developers whom have downloaded a working copy of `centos-web.cgi'
|
|
|
30e7cd |
# tree into their worstation in order to on it in a way that it be
|
|
|
d864eb |
# possible to test changes before commit them up to the central
|
|
|
d864eb |
# repository.
|
|
|
d864eb |
#
|
|
|
30e7cd |
# To install this configuration, copy this file to
|
|
|
30e7cd |
# `/etc/httpd/conf.d/' and, after that, reload the httpd server deamon
|
|
|
30e7cd |
# (e.g., /sbin/service httpd reload).
|
|
|
d864eb |
#
|
|
|
30e7cd |
# To test the changes you've made in your working copy directory,
|
|
|
30e7cd |
# related to `centos-web.cgi' tree, open the address
|
|
|
d864eb |
# `http://localhost/centos-web/' in your web browser and explore the
|
|
|
d864eb |
# application looking for them.
|
|
|
d864eb |
#
|
|
|
d864eb |
# ------------------------------------------------------------------
|
|
|
d864eb |
# $Id$
|
|
|
d864eb |
# ------------------------------------------------------------------
|
|
|
d864eb |
|
|
|
d864eb |
# Define the CGI script location. Be sure to use the script file, not
|
|
|
d864eb |
# the directory where the script file is stored in. This way, the
|
|
|
d864eb |
# security issues are reduced to that CGI script you refered to.
|
|
|
d864eb |
ScriptAlias /centos-web/ "/home/centos/public_html/CentOS-Web/centos-web.cgi"
|
|
|
d864eb |
|
|
|
d864eb |
# Define the CGI public location. This is the location where public
|
|
|
d864eb |
# files (e.g., images and css files) are stored in.
|
|
|
d864eb |
Alias /centos-web-pub/ "/home/centos/public_html/CentOS-Web/Public/"
|