Cgi environment logical – Oracle Audio Technologies ORACLE9I B10508-01 User Manual
Page 171
Running the Oracle HTTP Server on OpenVMS
Apache Server Installation/Configuration
D-25
CGI Environment Logical
By default, an environment logical symbol takes the form that is designated by the
name of the environment logical
.
You can determine how environment logicals are
set when the server executes a CGI program.
You can define the APACHE$PREFIX_DCL_CGI_SYMOBLS_WWW logical name to
prefix all environment logical symbols with "WWW_"
.
By default, no prefix is used.
The APACHE$CGI_MODE logical name controls how CGI environment logicals are
defined in the executing CGI program, as follows:
APACHE$CGI_MODE
option
where option can have one of the following values at a time:
0
Default
.
Environment logicals are defined as local symbols and are
truncated at 970 (limitable with DEC C).
1
Environment logicals are defined as local symbols unless they are greater
than 970 characters
.
If the environment value is greater than 970 characters, it
is defined as a multi-item logical.
2
Environment logicals are defined as logicals
.
If the environment value is
greater than 512 characters, it is defined as a multi--item logical.
APACHE$DCL_ENV
is a foreign symbol that lets you define CGI environment
logical, as follows:
APACHE$DCL_ENV [-c] [-d] [-e env-file]
where:
-c
Default
.
Indicates create environment logicals.
-d
Indicates delete environment logicals.
-e env-file
Specifies an alternate environment file. The environment
file does not need to be specified by the caller because the parent derives it (it
can be easily determined by default).
The following example deletes the environment and then recreates it:
Example: diff_mode_cgi.com
$ APACHE$DCL_ENV -d
$ Define APACHE$PREFIX_DCL_CGI_SYMBOLS_WWW 1
$ APACHE$DCL_ENV -c