iTP Secure WebServer System Administrator's Guide (iTPWebSvr 5.1+)
Managing the iTP Secure WebServer Using Scripts
iTP Secure WebServer System Administrator’s Guide—522659-001
6-4
Restarting the iTP Secure WebServer Using the
restart Script
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).
Syntax
The httpd command has the following syntax:
-start
starts the httpd server with the configuration specified by config-filename.
-stop
stops the httpd server with the configuration specified by config-filename.
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.
httpd {-start [-rollover] |-stop [-rollover] |-restart
[-rollover] |-restarth [-rollover]} config-filename