iTP Secure WebServer System Administrator's Guide (iTPWebSvr 6.0+)
Configuration Directives
iTP Secure WebServer System Administrator’s Guide—523346-002
A-66
Server Commands
This command is optional.
Stdin file-name
specifies the standard input 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 Stdin, you also must specify Stdout and Stderr. If you specify the
Debug directive, the home terminal becomes the standard input file, regardless of
the value you specified for Stdin.
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.