iTP Secure WebServer System Administrator's Guide (iTPWebSvr 6.0+)
Managing the iTP Secure WebServer Using Scripts
iTP Secure WebServer System Administrator’s Guide—523346-002
6-5
Syntax
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.
-restart
stops and restarts the httpd server with the configuration specified by
config-filename, then restarts it.
-restarth
dynamically reconfigures the httpd server with the configuration specified by
config-filename. This argument does not stop the server. Cannot be used with
Parallel Library TCP/IP configurations.
-rollover
causes the current log files to be saved and the iTP Secure WebServer to write to
a new log file. You can use this argument alone or with the -start, -stop,
-restart, and -restarth options.
Description
The httpd command controls the iTP Secure WebServer (httpd) process. You can
use the command to start, stop, and restart the httpd process with the configuration
specified in config-filename, and to cause the httpd process to begin logging to
new files. The httpd object file is located in the /usr/tandem/webserver/bin
directory. The default httpd.config file is located in
/usr/tandem/webserver/conf.
You can start multiple httpd servers by using the -start argument with unique
config-filename, as follows:
#!/bin/ksh
root=${1:-/usr/tandem/webserver}
server1=${2:-httpd1.config}
server2=${2:-httpd2.config}
$root/bin/httpd -start $root/conf/$server1
$root/bin/httpd -start $root/conf/$server2
httpd {-start [-rollover] |-stop [-rollover] |-restart
[-rollover] |-restarth [-rollover]} config-filename