Assign-Name - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

NameTrans Stage

assign-name

Applicable in
The
assign-name
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
After processing this
personnel
personnel
The
assign-name
Parameters
from
name
find-pathinfo-forward
54
Netscape Enterprise Server NSAPI Programmer's Guide • November 2001
-class directives.
NameTrans
function specifies the name of an object in
NameTrans
in
, and continues by processing the directives in the
obj.conf
object.
function always returns
is a wildcard pattern that specifies the path to be affected.
specifies an additional named object in obj.conf whose
directives will be applied to this request.
(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.
http://
directive, the server looks for an object named
REQ_NOACTION
that
obj.conf
server-name
/personnel
.
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents