Logo  

web500gw: Supported URL format

 
 

Syntax

http://host[:port]/[ldaphost[:ldapport]/]DN[?[attrs][$flags][?[scope=filter]]


host ::= the hostname or IP address of the host running web500gw

port ::= the port number web500gw is listening at host

ldaphost ::= the hostname or IP address of the LDAP server to contact
-- if left empty a configured default LDAP server will be used

ldapport ::= the portnumber of the LDAP server
-- if left empty the LDAP default port 389 is used

DN ::= a string as defined in RFC 1485
-- The entry's LDAP Distinguished Name, escaped using % method.

attrs ::= attr [, attrs]
attr ::= NULL | a string as defined in RFC 1487
-- Attribute list: what attributes should be displayed from the entry or the entries

flags ::= flag [, flags]
flags ::= NULL | table | btable | list | oneline | valsonly | entryonly | nodn | deref | lang=xx
-- Flags: how the result should be formatted, options ... see below

scope ::= O | S
-- O = onelevel search, S = subtree search

filter ::= a string as defined in RFC 1558
-- Filter: Search specification

Description of flags

FlagDescription
tableShow entries or search results as table
btableShow entries or search results as bordered table
listShow entries or search results as lists (<DL>)
onelineMore compact display: All values of one attribute on one line
valsonlyShow attribute values only, not attribute names
entryonlyShow entries or search results only, without page headers/trailers and navigation/search tools
nodnDonīt show Distinguished names in search results
derefDereference alias entries during search
lang=xxUse the language xx if available. xx is the two-letter language code like en for English or de for German.
Some more flags are used by web500gw itself to request bind, add or modify operations.

Examples

/DN
Display of an entry (attributes and flags server defined, with possible additional functions, e.g. list below nonleaf objects, modify button)
/      (empty DN)
If option rootishome is set: show HOMEDN
If option rootishome is not set: show "X.500 root"
/DN?telephoneNumber
Specified attribute of an entry
/DN?$list
Entry with all attributes (server defined) with special display flags
/DN?vcard
vCard for an entry
/DN?telephoneNumber,mail,postalAddress$table
Entry with user-defined attributes and display flags
/DN??
Search for all entries below DN, show result with server defined attributes and flags (Browse)
/DN?description?
Search for all entries below DN, show result with the specified attribute (flags server defined)
/DN?$table?
Search for all entries below DN, show result with display flags
/DN?$btable,oneline?
Another example (compact table with border)
/DN?telephoneNumber,mail$btable,valsonly?
Table of all entries with 2 attributes ("Telephone Book")
/DN?jpegPhoto$btable,valsonly?S=(&(objectclass=person)(jpegPhoto=*))
Search for all persons with JPEG Photo, displayed as a table
/M
Special URL: "Homepage"

Old go500gw like URL's

are supported if compiled with SUPPORT_OLD_URLS (see Makefile).
/MDN
Browse below DN
/RDN
Read an entry
/SDN?S=filter
Search below DN for filter
VERSION: 2.1rc1
 Availability
 Features
 Changes
 Known Bugs
 Links & References

Installation
 Modes

Configuration:
 web500gw.conf
 Hints
 vCards
 Search interface
 Adding entries

Examples:
 web500gw.conf
 ldaptemplates.conf
 ldapfriendly

Support:
 Y2K proof?
 Mailing List
 Troubleshooting
 URL format
 URLs in entries
 LDAP errors

Developers
 SF.net Project

Test it:
 TU Chemnitz
 TU Chemnitz CGI
 Other sites


hosted by sourceforge
  (url.html.php Version 1.1) last modified by dekarl on 2001/07/22 at 20:17:46 GMT