iTP Secure WebServer System Administrators Guide (Version 7.5+)

NOTE: By default, the conf directory contains the updatesc script.
You can modify the configuration of multiple serverclasses by specifying the serverclasses as a
space separated list.
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).
Starting with iTP Secure WebServer Release 7.5, you can restart individual serverclasses with the
httpd command.
Syntax
The httpd command has this syntax:
httpd {-start [-rollover] |-stop [-rollover] |-restart [serverclass-name]
[-rollover][-noprompt]|-restarth [-rollover] | -add [-rollover][-noprompt] | delete
[-rollover][-noprompt]} config-filename
-start
starts the httpd server with the configuration specified by config-filename.
-stop
stops the httpd server with the configuration specified by config-filename.
You must provide a confirmation to the following question while you run this
command. "Pathmon <pathmon-name> and all the serverclasses
running under it would be stopped. Do you wish to
continue?(y/[n]):"The default value is n or N(no). The task aborts when
you use the default n or N(no) value. If you enter y or Y, the task is performed.
In case, more than one pathmon's are configured in the configuration file, this
question is prompted for each pathmon and only that pathmon is stopped for which
you enter y or Y </pathmon-name>. The iTP Secure WebServer must be
online-upgrade enabled.
-restart
when specified without serverclass-name, stops and then restarts the iTP
WebServer environment using the configuration from the config-filename.
You must provide a confirmation to the following question while you run this
command."All the Pathmon(s) mentioned in the configuration
file will be restarted. All the serverclasses running under
those pathmon(s) would be stopped and only those
serverclasses that are mentioned in the configuration file
will be started again. Do you wish to continue?(y/[n]):"The
default value is n or N(no). The task is aborted when you use the default value
and when you enter y or Y the task is performed.
-restarth
dynamically reconfigures the httpd server with the configuration specified by
config-filename. This argument does not stop the server. Cannot be used if
httpd is currently running with Auto-Accept feature enabled.
-add
Using the httpd Command 85