iTP Secure WebServer System Administrators Guide (Version 7.5+)
Table 17 Pathway Specific Environment Variables (continued)
DescriptionEnvironment Variable
QUERY_STRING=name=value name=value=y
AUTOMATIC_FORM_DECODING ON
HTTP_ACCEPT */*, image/gif,
image/x-xbitmap,
image/jpeg
PATH
/bin:/usr/bin:/usr/ucb:/usr/bsd:/usr/local/bin
x y
GATEWAY_INTERFACE CGI/1.1
REQUEST_METHOD GET
SCRIPT_NAME /samples/Scripts/env.cgi
This environment variable is used to attach a prefix to the
environment variables that are created when the value of
FORM_DECODING_PREFIX
the AUTOMATIC_FORM_DECODING environment variable
is set to ON.
Format:
Region /* {
AddCGI AUTOMATIC_FORM_DECODING ON
AddCGI FORM_DECODING_PREFIX your_prefix_
}
Example:
To retrieve the value of the form entry:
<INPUT SIZE=30 NAME="First_Name"> <b> Your
First Name</b><br>
Use the following:
getenv ("your_prefix_First_Name");
In this example, the names of all environment variables
have the prefix your_prefix_. The prefix option can be
useful if you expect duplication of names between the
names in your form and the names of predefined
environment variables.
If set to yes, causes the Pathway CGI server to abort when
the dialog between HTTPD and CGI server is aborted.
Format:
TANDEM_CGI_CONNECTION_ABORT_EXIT
Server path { Env
TANDEM_CGI_CONNECTION_ABORT_EXIT=value}
The valid values for this variable are YES/yes and NO/no.
If you write your own copy of CGI_connection_abort()
routine that does not stop the Pathway CGI server, the CGI
server is aborted if
TANDEM_CGI_CONNECTION_ABORT_EXIT is set to yes.
In all other cases, this variable has no effect.
This environment variable is not used in case of NSJSP.
Example:
Server $root/bin/SampleServer.pway {
Eval $DefaultServerAttributes
Env TANDEM_CGI_CONNECTION_ABORT_EXIT=YES}
This environment variable determines the number of
seconds that the CGI process will retain buffered data
TANDEM_CGI_ FFLUSH_TIMER
before flushing the data to the httpd process (which, in
turn, sends the data to the client). You can include this
variable in the configuration of your server class or set it
by using the CGI_set_fflush_timer procedure.
Format:
Passing CGI Environment Variables 151










