Service; Service Examples - Netscape ENTERPRISE SERVER 6.1 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

Flow of Control in obj.conf
NameTrans fn="pfx2dir" from="/cgi"
dir="D:/netscape/servers/docs/mycgi" name="cgi"
<Object name="cgi">
ObjectType fn="force-type" type="magnus-internal/cgi"
Service fn="send-cgi"
</Object>
The server continues processing all
default object, but since the
can set it to another value.

Service

Next, the server needs to execute a
send to the client. The server looks at each
first one that matches the type, method and query string. If a
does not specify type, method, or query string, then the unspecified attribute
matches anything.
If there is more than one
matches the conditions of the request, and ignores all remaining
directives.
As with the
matched to the request as a result of the
Service
object. If the server successfully executes a
object, it will not get round to executing the
object, since it only executes one

Service Examples

For an example of how
server receives a request for the URL
directives executed by the server are in the default object.
The following
D:/netscape/servers/docs/jos.html
NameTrans fn="document-root" root="D:/Netscape/Servers/docs"
Assume that the
40
Netscape Enterprise Server NSAPI Programmer's Guide • April 2002 (Draft)
type
Service
and
PathCheck
ObjectType
directives in the matching object before considering the ones in the default
Service
NameTrans
PathCheck
directives including those in the
ObjectType
attribute has already been set, no other directive
directive to generate the response to
Service
Service
directive, the server applies the first one that
directives, if another object has been
NameTrans
Service
Service
directive.
Service
directives work, consider what happens when the
server_name
D:/
directive translates the requested URL to
:
directives all succeed.
directive in turn, to find the
directive
Service
Service
step, the server considers the
directive in the matching
directives in the default
. In this case, all
/jos.html

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.1

Table of Contents