![Netscape ENTERPRISE SERVER 6.1 Manual Download Page 57](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653057.webp)
NameTrans Stage
Chapter
3
Predefined SAFs and the Request Handling Process
57
Example
document-root
Applicable in
NameTrans
-class directives.
The
document-root
function specifies the root document directory for the server.
If the physical path has not been set by a previous
NameTrans
function, the
http://
server-name
/
part of the path is replace by the physical pathname for the
document root.
nostat
(optional) prevents the server from performing a stat on a
specified URL whenever possible.
The effect of
nostat="
virtual-path
"
in the
NameTrans
function
assign-name
is that the server assumes that a
stat on the specified
virtual-path
will fail. Therefore, use
nostat
only when the path of the
virtual-path
does not
exist on the system, for example, for NSAPI plugin URLs,
to improve performance by avoiding unnecessary stats on
those URLs.
When the default
PathCheck
server functions are used,
the server does not stat for the paths
/
ntrans-base/virtual-path
and
/
ntrans-base/virtual-path
/*
if
ntrans-base
is set (the
default condition); it does not stat for the URLs
/
virtual-path
and
/
virtual-path
/*
if
ntrans-base
is not
set.
bucket
optional, common to all
obj.conf
functions
# This NameTrans directive is in the default object.
NameTrans fn=assign-name name=personnel from=/a/b/c/pers
...
<Object name=personnel>
...additional directives..
</Object>
NameTrans fn="assign-name" from="/perf" find-pathinfo-forward=""
name="perf"
NameTrans fn="assign-name" from="/nsfc"
nostat="/nsfc"
name="nsfc"
Summary of Contents for ENTERPRISE SERVER 6.1
Page 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Page 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...