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

Configuration Directives
iTP Secure WebServer System Administrator’s Guide—522659-001
A-65
Server
The following example specifies the home terminal as the standard input file
and two different log files as the standard output and error files.
set env(HOMETERM) [exec tty]
eval $DefaultServerAttributes
Stdin $env(HOMETERM)
Stdout /web/xyz/startup/t8997/logs/stdout.log
Stderr /web/xyz/startup/t8997/logs/stderr.log
If the server you are defining is a CGI server class, specifying the home terminal
as the standard input file is useful only for debugging your program outside the
iTP Secure WebServer environment. For a CGI server class in the iTP Secure
WebServer environment, specify a value of /dev/null.
Stdout file-name
specifies the standard output file for the server. The value is an OSS pathname.
If you do not specify standard files, the process starts without a standard file
environment.
If you specify Stdout, you also must specify Stdin and Stderr. If you specify
the Debug directive, the value you specify for Stdout does not take effect.
The following example specifies the home terminal as the standard input file
and two different log files as the standard output and error files:
set env(HOMETERM) [exec tty]
eval $DefaultServerAttributes
Stdin $env(HOMETERM)
Stdout /web/xyz/startup/t8997/logs/stdout.log
Stderr /web/xyz/startup/t8997/logs/stderr.log
Stderr file-name
specifies the standard error file for the server. The value is an OSS pathname. If
you do not specify standard files, the process starts without a standard file
environment.
If you specify Stderr, you also must specify Stdin and Stdout. If you specify
the Debug directive, the value you specify for Stderr does not take effect.
The following example specifies the home terminal as the standard input file
and two log files as the standard output and error files:
set env(HOMETERM) [exec tty]
eval $DefaultServerAttributes
Stdin $env(HOMETERM)
Stdout /web/xyz/startup/t8997/logs/stdout.log
Stderr /web/xyz/startup/t8997/logs/stderr.log