How the Server Handles Requests from Clients
22
Netscape Enterprise Server NSAPI Programmer’s Guide • November 2001
Steps in the Request Handling Process
When the server first starts up it performs some initialization and then waits for an
HTTP request from a client (such as a browser). When it receives a request, it first
selects a virtual server. For details about how the virtual server is determined, see
“Virtual Server Selection for Request Processing,” on page 295.
After the virtual server is selected, the
obj.conf
file for the virtual server class
specifies how the request is handled in the following steps:
1.
AuthTrans
(authorization translation)
verify any authorization information (such as name and password) sent in the
request.
2.
NameTrans
(name translation)
translate the logical URI into a local file system path.
3.
PathCheck
(path checking)
check the local file system path for validity and check that the requestor has
access privileges to the requested resource on the file system.
4.
ObjectType
(object typing)
determine the MIME-type (Multi-purpose Internet Mail Encoding) of the
requested resource (for example.
text/html
,
image/gif
, and so on).
5.
Service
(generate the response)
generate and return the response to the client.
6.
AddLog
(adding log entries)
add entries to log file(s).
7.
Error
(service)
This step is executed only if an error occurs in the previous steps. If an error
occurs, the server logs an error message and aborts the process.
Summary of Contents for ENTERPRISE SERVER 6.0
Page 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 0 November 2001...
Page 134: ...CGI to NSAPI Conversion 134 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 306: ...cinfo 306 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 312: ...Sample MIME Types File 312 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 324: ...Buffered Streams 324 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 332: ...332 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 340: ...340 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 346: ...346 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 352: ...352 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...