![Netscape ENTERPRISE SERVER 6.1 Скачать руководство пользователя страница 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>
Содержание ENTERPRISE SERVER 6.1
Страница 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Страница 18: ...Where to Find Related Information 18 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 138: ...CGI to NSAPI Conversion 138 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 214: ...NSAPI Functions in Alphabetical Order 214 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 310: ...The Netscape LDAP Schema 310 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 324: ...Sample MIME Types File 324 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...