HP-UX Secure Resource Partitions (SRP) A.02.01 Administrator's Guide

51
Valid Input: A TCP port number in the range 1- 65535.
Default: 80, the IANA registered port number for HTTP.
Apache HTTPS
port number
Specifies the TCP port number on which the compartment Apache server will receive
HTTPS (SSL) requests.
Variable Name: https_port.
Valid Input: A TCP port number in the range 1- 65535.
Default: 443, the IANA registered port number for HTTPS.
Tomcat AJP
port number
Specifies the TCP port number on which the compartment apache web server will
send request to tomcat server.
Variable Name: ajp_port.
Valid Input: A TCP port number in the range 1- 65535.
Default: 8009.
Start Apache
at SRP
start
time
Specifies if you want to SRP to add a script to the SRP init directory structure to
start and stop Apache. The script is automatically executed when the SRP is started
or stopped.
Variable Name: start_apache.
Valid Input: yes or no.
Default: yes.
Start Apache
in ssl mode
Specifies if you want to start apache in ssl mode.
Variable Name: startssl_apache
Valid Input: yes or no
Default: no
7.1.3.2 Configuration Data
By default, the tasks executed by the /opt/hpsrp/bin/util/apache_setup script include:
Creating bin, cgi-bin, conf, htdocs, and logs subdirectories below the compartment
Apache home directory.
Creating a compartment-specific http.conf file with compartment-specific configuration
data, such as setting data paths to the appropriate directories below the compartment
Apache home directory and setting the IP address to the compartment IP address. Enables the
mod_ajp module for apache tomcat integration.
Creating compartment-specific initialization scripts and startup file to start Apache with the
compartment-specific http.conf file when the compartment startup script is executed. The
setup script:
o Modifies the compartment-specific apachectl file in the bin subdirectory below the
data_path (by default, the path is
/var/hpsrp/compartment_name/opt/hpws22/apache/bin/apachectl) to
use the compartment-specific Apache data path directory as the ServerRoot.
o Creates the compartment-specific startup configuration file,
/var/hpsrp/compartment_name/etc/rc.config.d/hpws22_apacheconf,
which specifies the compartment-specific Apache home directory.
o Adds the startup and shutdown script hpws22_apache to the compartment-specific
init.d directory, /var/hpsrp/compartment_name/sbin/init.d. This file is
linked to the
/var/hpsrp/compartment_name/sbin/rc3.d/S823hpws22_apache and
/var/hpsrp/compartment_name/sbin/rc3.d/K177hpws22_apache files.