Installation guide

Table Of Contents
Context-Related Directives
Appendix B Gateway Directives 109
Context-Related Directives
The context-related directives GCONTEXT and PCONTEXT appear within a line and are not
required to appear at the beginning of a line. This is an exception to the rule. All other
directives must appear at the beginning of a line to be recognized by the Directory Server.
GCONTEXT
The <!-- GCONTEXT--> directive appears within a URL and is used in the invocation of
CGIs through GET operations.
<!-- GCONTEXT--> can appear anywhere on a line, and
more than once within a line. The gateway CGI reading
<!--GCONTEXT --> replaces it
with the gateway context it has at the time.
Arguments
None.
Example
<a href=/clients/dsgw/bin/lang?<?-- GCONTEXT
-->&file=auth.html>click</a>
PCONTEXT
The <!-- PCONTEXT--> directive must appear on a line by itself. The gateway CGI
reading
<!--PCONTEXT --> replaces it with a hidden variable indicating the context it has
at the time.
Arguments
None.
Example
<form method=post action=/dsgw.bin/dosearch>
<input type=hidden name=dn valute=””>
<!-- PCONTEXT -->
<form>