Home-Page - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

NameTrans Stage
When the server receives a request for
the
document-root
root
/usr/netscape/server4/docs
http://
pathname to
resource.
This function always returns
will never be called, so be sure that the directive that invokes
last
NameTrans
There can be only one root document directory. To specify additional document
directories, use the
Parameters
root
bucket
Examples
NameTrans fn=document-root root=/usr/netscape/server4/docs
NameTrans fn=document-root root=$docroot
See also
pfx2dir

home-page

Applicable in
The
home-page
requests the server's home page (
56
Netscape Enterprise Server NSAPI Programmer's Guide • November 2001
function replaces
parameter. For example, if the document root directory is
server-name
/a/b/file.html
/usr/netscape/server4/docs/a/b/file.html
directive.
pfx2dir
-class directives.
NameTrans
function specifies the home page for your server. Whenever a client
http://
server-name
http://
, then when the server receives a request for
, the
document-root
.
REQ_PROCEED
NameTrans
function to set up additional path name translations.
is the file system path to the server's root document
directory.
optional, common to all obj.conf functions
), they'll get the document specified.
/
server-name
/somepath/somefile
with the value of its
/
function translates the
for the requested
directives listed after this
document-root
,
is the

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents