configure_apache

configure_apache - Apache HTTPD configuration script

Synopsis

    configure_apache --server <y,n>
                     --secure
                     --vdt-install <VDT installation root>

Description

--server <y,n>
For y, prepare Apache to be installed and started by vdt-control. For n, describe Apache for use by vdt-control, but do not enable.
--secure
By default all non-SSL traffic from everything except localhost will be redirected to the SSL interface. This is required by some administrative tools such as voms-admin. Once the initial setup is done, however, running with such a setup can be insecure. Re-running configure_apache with --secure will redirect non-SSL traffic from localhost as well.
--vdt-install <VDT installation root>
configure_apache will look for the root of the VDT installation at $VDT_LOCATION. If you do not have that set you can specify it with --vdt-install instead.
--help, --usage
Print a usage message.

By default the following changes are made to the stock Apache configuration:

SSL is turned on
Non-SSL traffic is forwared to the SSL interface for everything but localhost.
If you specify --secure, traffic from localhost will be redirected as well.
Ports are changed from 80/443 to 8080/8443
The certificate/key pair is switched to those installed in /etc/grid-security/http
Apache is set up to run as the daemon user
The init script is modified to source the VDT setup.sh file