Chapter 6 Examples Of Custom Safs - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

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
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
Examples of Custom SAFs
(discussed in Chapter 2, "Syntax and Use of obj.conf").
Chapter 6
211

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents