![Netscape ENTERPRISE SERVER 6.1 Скачать руководство пользователя страница 67](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653067.webp)
PathCheck Stage
Chapter
3
Predefined SAFs and the Request Handling Process
67
Examples
find-index
Applicable in
PathCheck
-class directives.
The
find-index
function investigates whether the requested path is a directory. If
it is, the function searches for an index file in the directory, and then changes the
path to point to the index file. If no index file is found, the server generates a
directory listing.
Note that if the file
obj.conf
has a
NameTrans
directive that calls
home-page
, and
the requested directory is the root directory, then the home page rather than the
index page, is returned to the client.
The
find-index
function does nothing if there is a query string, if the HTTP
method is not GET, or if the path is that of a valid file.
Parameters
Examples
find-links
Applicable in
PathCheck
-class directives.
PathCheck fn=deny-existence
path=/usr/netscape/servers/docs/private
PathCheck fn=deny-existence bong-file=/svr/msg/go-away.html
index-names
is a comma-separated list of index file names to look for. Use
spaces only if they are part of a file name. Do not include
spaces before or after the commas. This list is case-sensitive if
the file system is case-sensitive.
bucket
optional, common to all
obj.conf
functions
PathCheck fn=find-index index-names=index.html,home.html
Содержание 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...