iTP Secure WebServer System Administrator's Guide (iTPWebSvr 6.0+)

Managing the iTP Secure WebServer Using Scripts
iTP Secure WebServer System Administrator’s Guide523346-002
6-4
For Classical TCP/IP Support:
For Classical TCP/IP Support:
If the iTP Secure WebServer is already running and you want to restart it so that
changes to the httpd.config file can take effect, you can bring up your new
configuration without stopping the server first. You can use the script as shown below:
: cd /usr/tandem/webserver/conf
: ./restarth
You should not get any error messages.
The restarth script applies changes to the httpd and Distributor process
configurations only. It ignores the following types of changes in the configuration file:
The arguments to other server classes such as generic-cgi.pway
The addition of new server classes or the deletion of existing ones
Do not modify the configuration of the PATHMON itself, for example, its process priority,
before running restarth.
Restarting the iTP Secure WebServer Using
the restart Script
You should use the restart script when you want changes to take effect other than
the ones allowed with the restarth script. The restart script stops the iTP Secure
WebServer and immediately starts it again, allowing any configuration changes that
affect the iTP Secure WebServer to take effect. You can use the script as shown
below:
: cd /usr/tandem/webserver/conf
: ./restart
You should not get any error messages. The restart script shuts down the PATHMON
process specified in the httpd.config file and restarts the whole environment.
Using the httpd Command
You can use the httpd command in your own scripts, or you can use it interactively to
control the iTP Secure WebServer (the httpd server).
Note. It can take several minutes to restart the iTP Secure WebServer environment if you
issue the restarth script from a Ksh script. For better performance, issue the restarth script
from a Pathway CGI program, and invoke the CGI_fflush procedure immediately after the
restarth script is run.
For information about Pathway CGI programming, see Section 8, Using Common Gateway
Interface (CGI) Programs.