![Netscape ENTERPRISE SERVER 6.1 Скачать руководство пользователя страница 43](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653043.webp)
Flow of Control in obj.conf
Chapter
2
Syntax and Use of obj.conf
43
This directive matches requests whose method is
GET
,
HEAD
, or
POST
, which covers
nearly virtually all requests sent by browsers. The value of the
type
argument uses
special pattern-matching characters. For complete information about the special
pattern-matching characters, see Appendix C, “Wildcard Patterns.”
The characters “
*~
” mean “anything that doesn’t match the following characters,”
so the expression
*~magnus-internal/
means “anything that doesn’t match
magnus-internal/
.” An asterisk by itself matches anything, so the whole
expression
*~magnus-internal/*
matches anything that does not begin with
magnus-internal/
.
So if the server has not already executed a
Service
directive when it reaches this
directive, it executes the directive so long as the request method is
GET
,
HEAD
or
POST
, and the value of the
type
attribute does not begin with
magnus-internal/
.
The invoked function is
send-file
, which simply sends the contents of the
requested file to the client.
AddLog
After the server generate the response and sends it to the client, it executes
AddLog
directives to add entries to the log files.
All
AddLog
directives are executed. The server can add entries to multiple log files.
Depending on which log files are used and which format they use, the
Init
section
in
magnus.conf
may need to have directives that initialize the logs. For example, if
one of the
AddLog
directives calls
flex-log
, which uses the extended log format,
the
Init
section must contain a directive that invokes
flex-init
to initialize the
flexible logging system.
For more information about initializing logs, see the discussion of the functions
flex-init
and
init-clf
in Chapter 7, “Syntax and Use of magnus.conf.”
Error
If an error occurs during the request handling process, such as if a
PathCheck
or
AuthTrans
directive denies access to the requested resource, or the requested
resource does not exist, then the server immediately stops executing all other
directives and immediately starts executing the
Error
directives.
Содержание 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...