Installation guide
Table Of Contents
- Gateway Customization Guide
- Contents
- Preface
- Introduction
- Setting Up the Gateway
- Gateway Installation Planning
- HTTP Server Configuration
- Creating a New Gateway Instance
- Gateway .conf File Configuration
- Configuring Gateway Clients
- Gateway Localization
- File Controlling Gateway Functionality
- Editing Entry Types
- Search Attributes, Filters, and Results
- Customizing Graphics and Color
- Parameters Defined in the .conf File
- Gateway Directives
- Introduction
- Context-Related Directives
- Entry-Related Directives
- DS_ENTRYBEGIN
- DS_ENTRYEND
- DS_ATTRIBUTE
- DS_OBJECTCLASS
- DS_VIEW_SWITCHER
- DS_SORTENTRIES
- DS_SEARCHDESC
- DS_POSTEDVALUE
- DS_EDITBUTTON
- DS_DELETEBUTTON
- DS_SAVEBUTTON
- DS_EDITASBUTTON
- DS_NEWPASSWORD
- DS_CONFIRM_NEWPASSWORD
- DS_OLDPASSWORD
- DS_HELPBUTTON
- DS_CLOSEBUTTON
- DS_BEGIN_ENTRYFORM
- DS_END_ENTRYFORM
- DS_EMIT_BASE_HREF
- DS_DNEDITBUTTON
- DS_BEGIN_DNSEARCHFORM
- DS_ATTRVAL_SET
- IF/ ELSE/ ELIF/ ENDIF
- Miscellaneous Directives
- CGI Usage
- Index
- List of Tables
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>