Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual page 58

Nsapi
Table of Contents

Advertisement

NameTrans Stage
find-pathinfo-forward
bucket
Examples
In the first example, the URL
http://x.y.z/cgi-bin/test.cgi
/httpd/cgi-local/
server also starts processing the directives in the object named
NameTrans fn=pfx2dir from=/cgi-bin dir=/httpd/cgi-local name=cgi
In the second example, the URL
http://x.y.z/icons/happy/smiley.gif
/users/nikki/images/
58
Netscape Enterprise Server NSAPI Programmer's Guide • November 2001
(optional) makes the server look for the PATHINFO
forward in the path right after the ntrans-base instead of
backward from the end of path as the server function
find-pathinfo does by default.
The value you assign to this parameter is ignored. If you
do not wish to use this parameter, leave it out.
The find-pathinfo-forward parameter is ignored if
the ntrans-base parameter is not set in rq->vars
when the server function find-pathinfo is called. By
default, ntrans-base is set.
This feature can improve performance for certain URLs by
reducing the number of stats performed in the server
function find-pathinfo.
On Windows NT, this feature can also be used to prevent
the PATHINFO from the server URL normalization
process (changing '\' to '/') when the PathCheck server
function find-pathinfo is used. Some double-byte
characters have hex values that may be parsed as URL
separator characters such as \ or ~. Using the
find-pathinfo-forward parameter can sometimes
prevent incorrect parsing of URLs containing double-byte
characters.
optional, common to all obj.conf functions
server-name
http://
) is translated to the physical pathname
resource, (such as
/httpd/cgi-local/test.cgi
server-name
http://
resource, (such as
resource (such as
/cgi-bin/
resource (such as
/icons/
) is translated to the physical pathname
/users/nikki/images/smiley.gif
) and the
.
cgi
)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents