Note: This version of the VDT (1.7.0) is no longer supported. Feel free to look through the documentation and install it, but we cannot guarantee support for it. The current stable release is 2.0.0.

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 install the apache init script in /etc/init.d, make appropriate run level links and start the server. For n remove any existing apache init from /etc/init.d.
--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