![Netscape ENTERPRISE SERVER 6.1 Скачать руководство пользователя страница 56](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653056.webp)
NameTrans Stage
56
Netscape Enterprise Server NSAPI Programmer’s Guide • April 2002 (Draft)
assign-name
Applicable in
NameTrans
-class directives.
The
assign-name
function specifies the name of an object in
obj.conf
that
matches the current request. The server then processes the directives in the named
object in preference to the ones in the default object.
For example, consider the following directive in the default object:
NameTrans fn=assign-name name=personnel from=/personnel
Let’s suppose the server receives a request for
http://
server-name
/personnel
.
After processing this
NameTrans
directive, the server looks for an object named
personnel
in
obj.conf
, and continues by processing the directives in the
personnel
object.
The
assign-name
function always returns
REQ_NOACTION
.
Parameters
from
is a wildcard pattern that specifies the path to be affected.
name
specifies an additional named object in
obj.conf
whose
directives will be applied to this request.
find-pathinfo-forward
(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
assign-name
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
. By
default,
ntrans-base
is set.
This feature can improve performance for certain URLs by
reducing the number of stats performed.
Содержание ENTERPRISE SERVER 6.1
Страница 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Страница 18: ...Where to Find Related Information 18 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 138: ...CGI to NSAPI Conversion 138 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 214: ...NSAPI Functions in Alphabetical Order 214 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 310: ...The Netscape LDAP Schema 310 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 324: ...Sample MIME Types File 324 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...