iTP Secure WebServer System Administrators Guide (Version 7.5+)
use the same value, the serverclass mentioned in the configuration is not added to the
pathmon and displays a relevant error.
2. Configuration of multiple daemons with different names is not supported with distributor
(conventional TCP/IP).
• Pathmon: Use the same Pathmon names in all configuration files to add the serverclasses
in the same pathmon.
• Server: Server definitions present in the configuration file are added and started to the
pathmon as per the conditions mentioned above.
• PidFile: To store the process id, all the configuration files must contain different values. If
the configuration file uses the same file, then it contains the process id for recently added
daemon.
Likewise, you can include other directives, if necessary.
Directives that are present in the configuration file implies its rules only on the specific daemon
serverclass using that configuration file.
Script to Configure Multiple httpds and their Configuration Files
To automate the process of configuration file generation for different httpds, you can use the
altHttpd script. The altHttpd script exists in the conf folder of iTP Secure Web server installation
directory. The required input parameters for the script is ServerClassName. This script can be
used for httpd serverclass. If these values are not specified or is of length greater than 15, the
setup terminates the process with a relevant error. You can run the script only from the iTP Secure
WebServer's conf directory.
Syntax:
./altHttpd serverclass_name
For example:
./altHttpd httpdA
serverclass_name: This is used as a value for ServerClassName directive of httpd server.
This is also used as a part of the filename for new configuration files.
NOTE: You can use this option to create the configuration files httpd.config,
httpd.stl.config, the log files with default names error.log, httpd.log, access.log,
httpd.pid, and key database file such as test_key.db.
Table 14 displays the file names that is used based on the httpd serverclass name specified by the
user.
Table 14 Configuration and Log File Names for alternate httpd
Changed NameDefault Name
<httpd_server_class_name>.confighttpd.config
<httpd_server_class_name>-stl.confighttpd.stl.config
<httpd_server_class_name>--test_key.dbtest_key.db
<httpd_server_class_name>-access.logaccess.log
<httpd_server_class_name>-httpd.loghttpd.log
<httpd_server_class_name>-error.logerror.log
<httpd_server_class_name>-httpd.pidhttpd.pid
If you enter the same file name that already exists, the script prompts for a confirmation to replace
the file name with a .backup extension.
136 Configuring the iTP Secure WebServer










