215
Chapter
6
Examples of Custom SAFs
This chapter discusses examples of custom Server Application Functions (SAFs) for
each directive in the request-response process. You may wish to use these
examples as the basis for implementing your own custom SAFs. For more
information about creating your own custom SAFs, see Chapter 4, “Creating
Custom SAFs.”
Before writing custom SAFs, you should be familiar with the request-response
process (discussed in Chapter 1, “Basics of Server Operation”) and the role of the
configuration file
obj.conf
(discussed in Chapter 2, “Syntax and Use of obj.conf”).
Before writing your own SAF, check if an existing SAF serves your purpose. The
pre-defined SAFs are discussed in Chapter 3, “Predefined SAFs and the Request
Handling Process.”
For a list of the NSAPI functions for creating new SAFs, see Chapter 5, “NSAPI
Function Reference.”
This chapter has the following sections:
•
Examples in the Build
•
AuthTrans Example
•
NameTrans Example
•
PathCheck Example
•
ObjectType Example
•
Service Example
•
AddLog Example
•
Quality of Service Examples
Содержание ENTERPRISE SERVER 6.1
Страница 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Страница 18: ...Where to Find Related Information 18 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 138: ...CGI to NSAPI Conversion 138 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 214: ...NSAPI Functions in Alphabetical Order 214 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 310: ...The Netscape LDAP Schema 310 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 324: ...Sample MIME Types File 324 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...