Oracle Audio Technologies B10508-01 用户手册
Running the Oracle HTTP Server on OpenVMS
D-26
Oracle9i Installation Guide Release 2 (9.2.0.2) for HP Alpha OpenVMS
Referencing Input
CGI scripts that reference input to the Oracle HTTP Server must refer to
APACHE$INPUT.
APACHE$INPUT.
Executing CGI
On OpenVMS, CGI images execute within a DCL process
.
You cannot execute CGI
images directly.
Logicals for Debugging CGI Scripts
Use the following logicals to debug CGI scripts:
Logical Name:
Description
APACHE$DEBUG_DCL_CGI:
If defined, this system logical name enables
APACHE$VERIFY_DCL_CGI
and APACHE$SHOW_CGI_SYMBOL.
APACHE$VERIFY_DCL_CGI:
If defined, this system logical name provides
information for troubleshooting DCL command procedure CGIs by forcing a SET
VERIFY before executing any DCL CGI
VERIFY before executing any DCL CGI
.
Enabled by APACHE$DEBUG_DCL_CGI.
APACHE$SHOW_CGI_SYMBOL:
If defined, this system logical name provides
information for troubleshooting the CGI environment by dumping all of the
symbols and logicals (job/process) for a given CGI
symbols and logicals (job/process) for a given CGI
.
Enabled by
APACHE$DEBUG_DCL_CGI.
Displaying Graphics with CGI Command Procedures
To display a graphics file with a CGI command procedure, use the
APACHE$DCL_BIN
APACHE$DCL_BIN
foreign symbol in the following format:
APACHE$DCL_BIN [-s
bin-size
]
bin-file
where:
-s:
bin-size
specifies the actual or approximate file size in bytes. Bin-size
is automatically determined if the image file is larger than 32768 K (default value).
If the image file is smaller than 32768 K, then you can provide an approximate (or
actual) size. This will boost performance.
If the image file is smaller than 32768 K, then you can provide an approximate (or
actual) size. This will boost performance.
bin-file:
Specifies the file to be displayed.
For example:
$ SAY := WRITE SYS$OUTPUT