Object That Use The Ppath Attribute - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

The Object Tag
<Object name="default">
NameTrans fn="pfx2dir" from="/cgi"
dir="D:/netscape/server4/docs/mycgi" name="cgi"
...
</Object>
When that
in the object named
<Object name="cgi">
more directives...
</Object>

Object that Use the ppath Attribute

When the server finishes processing the
the logical URL of the request will have been converted to a physical pathname. If
this physical pathname matches the
the server switches to processing the directives in that object before processing the
remaining ones in the default object.
For example, the following
http://
(which is the document root directory).
<Object name="default">
NameTrans fn="document-root" root="D:/Netscape/Server4/docs"
...
</Object>
30
Netscape Enterprise Server NSAPI Programmer's Guide • November 2001
directive is executed, the server starts processing directives
NameTrans
:
cgi
NameTrans
server_name
part of the requested URL to
/
directives in the default object,
NameTrans
attribute of another object in
ppath
directive translates the
D:/Netscape/Server4/docs/
,
obj.conf

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents