Complete Contents
Preface
Chapter 1 Introduction
Chapter 2 Setting up the Gateway
Chapter 3 Gateway Localization
Chapter 4 Files Controlling Gateway Functionality
Chapter 5 Entry Types and Object Class Attributes
Chapter 6 Search Attributes, Filters, and Results
Chapter 7 Customizing Graphics and Color
Appendix A .conf Parameters
Appendix B Directives Reference
Appendix C CGI Usage
Previous Contents Index Bookshelf


Appendix C CGI Usage

This appendix provides regular expression-type descriptions of the ways to invoke the CGIs in script files. Each regular expression is followed by the variables the expression can take on a POST. Upper case words are variables. Lower case words are literals.

auth

auth[?context=CONTEXT[&dn=DN]]

authasrootdn = "true"

or

escapedbinddn = DN

lang

lang?context=CONTEXT[&file=FILE]

search

search?context=CONTEXT[&file=string]

(GETs only. No POSTs.)

csearch

csearch[?context=CONTEXT[&file=FILE]] where FILE = type|attr|match|string|base

searchType = SEARCHTYPE

searchAttr = SEARCHATTR

unauth

unauth[?conetxt=CONTEXT]

dnedit

dnedit?CONTEXT=context&TEMPLATE=tmplname&DN=dn&ATTR=attrname&DESC=description

edit

edit?template&context=CONTEXT[&info=INFOSTRING] [&ADD][&dn=DN][&dnattr=ATTRNAME&dndesc=DESCRIPTION]

(GETs only. No POSTs.)

doauth

escapedbinddn = DN

authdesturl = AUTHDESTURL

password = PASSWORD

domodify

changetype = CHANGETYPE

dn = DN

newrdn = RDN

completion_javascript = COMPL_JS

newpasswd = NEW_PASSWD

passwd = PASSWD

newpasswdconfirm = NPCONFIRM

newentry

newentry[?context=CONTEXT[&file=FILE]]

entrytype = ET

entryname = EN

rdntag = RDNTAG

selectLocation = SL

dnsuffix = DNSUFFIX

dosearch

dosearch?context=BLAH[&hp=host[:port]][&dn=baseDN][&ldq=LDAPquery]]

mode = MODE

searchstring = SEARCH

STRING

type = TYPE

base = BASE

attr = ATTR

match = MATCH

attr = ATTR

filterpattern = FILTERPATTERN

filterprefix = FILTERPREFIX

filtersuffix = FILTERSUFFIX

scope = SCOPE

searchdesc = SEARCHDESC

 

© Copyright 1998 Netscape Communications Corporation