Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual page 68

Nsapi
Table of Contents

Advertisement

PathCheck Stage
For example, the following
directory
my.nsconfig
<Object ppath="D:/netscape/server4/docs/*">
PathCheck fn="load-config" file="my.nsconfig" descend=1
basedir="D:/netscape/server4/docs"
</Object>
NOTE
The
load-config
REQ_ABORTED
Parameters
file
disable-types
descend
68
Netscape Enterprise Server NSAPI Programmer's Guide • November 2001
<OBJECT>
D:/netscape/server4/docs
.
If the
resolves to a resource or directory that is higher in the
ppath
directory tree (or is in a different branch of the tree) than the base
directory, the
load-config
the base directory specifies the highest-level directory for which
requests will invoke the
function returns
on error, or
REQ_NOACTION
(optional) is the name of the dynamic configuration file
containing the access rules to be applied to the requested
resource. If not provided, the file name is assumed to be
.nsconfig.
(optional) specifies a wildcard pattern of types to disable for the
base directory, such as magnus-internal/cgi. Requests for
resources matching these types are aborted.
(optional) if present, specifies that the server should search in
subdirectories of this directory for dynamic configuration files.
For example, descend=1 specifies that the server should search
subdirectories. No descend parameter specifies that the
function should search only the base directory.
tag specifies that requests for resources in the
are subject to the access rules in the file
function is not invoked. This is because
function.
load-config
if configuration files were loaded,
REQ_PROCEED
when no files are loaded.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents