PathCheck Stage
72
Netscape Enterprise Server NSAPI Programmer’s Guide • April 2002 (Draft)
The
load-config
function returns
REQ_PROCEED
if configuration files were loaded,
REQ_ABORTED
on error, or
REQ_NOACTION
when no files are loaded.
Parameters
NOTE
If the
ppath
resolves to a resource or directory that is higher in the
directory tree (or is in a different branch of the tree) than the base
directory, the
load-config
function is not invoked. This is because
the base directory specifies the highest-level directory for which
requests will invoke the
load-config
function.
file
(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
.
disable-types
(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.
descend
(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.
basedir
(optional) specifies base directory. This is the highest-level
directory for which requests will invoke the
load-config
function and is also the directory where the server starts
searching for configuration files.
If
basedir
is not specified, the base directory is assumed to be
the root directory that results from translating the requested
resource’s URL to a physical pathname. For example, if the
request was for
http://
server-name
/a/b/file.html
, the
physical file name would be
/
document-root
/a/b/file.html
.
bucket
optional, common to all
obj.conf
functions
Summary of Contents for ENTERPRISE SERVER 6.1
Page 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Page 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...