Pfx2Dir - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

Parameters
path
bucket
Examples
NameTrans fn="home-page" path="homepage.html"
NameTrans fn="home-page" path="/httpd/docs/home.html"

pfx2dir

Applicable in
NameTrans
The
function replaces a directory prefix in the requested URL with a real
pfx2dir
directory name. It also optionally allows you to specify the name of an object that
matches the current request. (See the discussion of
using named objects.)
Parameters
from
dir
name
is the path and name of the home page file. If path starts
with a slash (/), it is assumed to be a full path to a file.
This function sets the server's path variable and returns
REQ_PROCEED. If path is a relative path, it is appended to
the URI and the function returns REQ_NOACTION
continuing on to the other NameTrans directives.
optional, common to all obj.conf functions
-class directives.
is the URI prefix to convert. It should not have a trailing
slash (/).
is the local file system directory path that the prefix is
converted to. It should not have a trailing slash (/).
(optional) specifies an additional named object in
obj.conf whose directives will be applied to this
request.
Chapter 3
Predefined SAFs and the Request Handling Process
NameTrans Stage
for details of
assign-name
57

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents