![Netscape ENTERPRISE SERVER 6.1 Manual Download Page 35](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653035.webp)
Flow of Control in obj.conf
Chapter
2
Syntax and Use of obj.conf
35
For more information, see Chapter 8, “Virtual Server Configuration Files.”
Flow of Control in obj.conf
Before the server can process a request, it must direct the request to the correct
virtual server. For details about how the virtual server is determined, see “Virtual
Server Selection for Request Processing,” on page 306.
After the virtual server is determined, the server executes the
obj.conf
file for the
virtual server class to which the virtual server belongs. This section discusses how
the server decides which directives to execute in
obj.conf
.
AuthTrans
When the server receives a request, it executes the
AuthTrans
directives in the
default object to check that the client is authorized to access the server.
If there is more than one AuthTrans directive, the server executes them all (unless
one of them results in an error). If an error occurs, the server skips all other
directives except for
Error
directives.
NameTrans
Next, the server executes a
NameTrans
directive in the default object to map the
logical URL of the requested resource to a physical pathname on the server’s file
system. The server looks at each
NameTrans
directive in the default object in turn,
until it finds one that can be applied.
If there is more than one
NameTrans
directive in the default object, the server
considers each directive until one succeeds.
NOTE
Variable substitution is allowed only in an
obj.conf
file. It is not
allowed in any other Enterprise Server configuration files.
Any variable referenced in an
obj.conf
file must be defined in the
server.xml
file at the
SERVER
,
VSCLASS
, or
VS
level. Defining
variables with default values at the
SERVER
or
VSCLASS
level and
overriding them in the
VS
is recommended.
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...