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

Gateway Installation Planning
30 Red Hat Directory Server Gateway Customization Guide • April 2005
Two gateway instances are installed during Directory Server installation: Red Hat
Directory Express (Directory Express) and the default gateway. The configuration files
(
pb.conf and dsgw.conf) for the two instances are stored in the
serverRoot/clients/dsgw/context directory. Additional gateways can be created by
customizing Directory Express or the default gateway.
Gateway Cloning
Unique gateway instances may have unique HTML directories (for example,
..clients/dsgw/mythml) and template directories (for example,
..clients/dsgw/myconfig). However, gateways may also be cloned to use identical
HTML and template directories while pointing to different Directory Servers or different
suffixes on a Directory Server.
For more information on cloning the gateway, see “Gateway Cloning,” on page 37.
Securing Gateway Configuration and Settings
The following sections describe procedure for protecting the configuration information of
your gateway.
• Protecting Bind DN and Password
• Protecting Root Processes on UNIX Systems
Table 2-1 Location of Gateway Files
File Type File Path
Default gateway configuration
file
serverRoot/clients/dsgw/context/dsgw.conf
Default gateway (dsgw)
HTML and template files
serverRoot/clients/dsgw/html
serverRoot/clients/dsgw/config
Directory Express
configuration file
serverRoot/clients/dsgw/context/pb.conf
Directory Express (pb) HTML
and template files
serverRoot/clients/dsgw/pbhtml
serverRoot/clients/dsgw/pbconfig