![Netscape ENTERPRISE SERVER 6.1 Manual Download Page 71](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653071.webp)
PathCheck Stage
Chapter
3
Predefined SAFs and the Request Handling Process
71
For example, if the base directory is
D:/netscape/servers/docs/nikki/
,
then only requests for resources in this directory or its subdirectories (and their
subdirectories and so on) trigger the search for dynamic configuration files. A
request for the resource
D:/netscape/servers/docs/somefile.html
does
not trigger the search in this case, since the requested resource is in a parent
directory of the base directory.
•
the top-most directory in which the server looks for dynamic configuration
files to apply to the requested resource.
If the base directory is
D:/netscape/servers/docs/nikki/
, the server starts
its search for dynamic configuration files in this directory. It may or may not
also search subdirectories (but never parent directories) depending on other
factors.
When you enable dynamic configuration files through the Server Manager
interface, the system writes additional objects with
ppath
parameters into the
obj.conf
file. If you manually add directives that invoke
load-config
to the
default object (rather than putting them in separate objects), the Server Manager
interface might not reflect your changes.
If you manually add
PathCheck
directives that invoke
load-config
to the file
obj.conf
, put them in additional objects (created with the
<OBJECT>
tag) rather
than putting them in the default object. Use the
ppath
attribute of the
OBJECT
tag to
specify the partial pathname for the resources to be affected by the access rules in
the dynamic configuration file. The partial pathname can be any pathname that
matches a pattern, which can include wildcard characters.
For example, the following
<OBJECT>
tag specifies that requests for resources in the
directory
D:/netscape/servers/docs
are subject to the access rules in the file
my.nsconfig
.
<Object ppath="D:/netscape/servers/docs/*">
PathCheck fn="load-config" file="my.nsconfig" descend=1
basedir="D:/netscape/servers/docs"
</Object>
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...