Complete Contents
Preface
Chapter 1 Gateway Features
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, Features, and Results
Chapter 7 Customizing Color and Graphics
Appendix A .conf Parameters
Appendix B Gateway Directives Reference
Appendix C CGI Usage
Appendix D Gateway User Help
Previous Next Contents Index


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. Uppercase words are variables. Lowercase words are literals.

auth

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

authasrootdn = "true"

or

escapedbinddn = DN

csearch

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

searchType = SEARCHTYPE

searchAttr = SEARCHATTR

dnedit

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

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

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

edit

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

(GETs only. No POSTs.)

lang

lang?context=CONTEXT[&file=FILE]

newentry

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

entrytype = ET

entryname = EN

rdntag = RDNTAG

selectLocation = SL

dnsuffix = DNSUFFIX

search

search?context=CONTEXT[&file=string]

(GETs only. No POSTs.)

unauth

unauth[?conetxt=CONTEXT]

 

© Copyright 1999 Netscape Communications Corporation