When Web Server first starts up, it performs some initialization tasks and then waits for an HTTP request from a client (such as a browser). When the server receives a request, it first selects a virtual server. The obj.conf file of the selected virtual server determines how the server handles a request.
The obj.conf file contains a series of instructions known as directives that tell the server what to do at each stage in the request-handling process. These directives are grouped inside Object tags. Each directive invokes a function with one or more arguments.
Each directive applies to a specific stage in the request-handling process. For example, a directive that applies during the authorization stage in the request-handling process is an AuthTrans directive.
Verify the authorization information (such as name and password) sent in the request.
Translate the logical URI into a local file system path.
Check the local file system path for validity and check if the requestor has access privileges to the requested resource on the file system.
Determine the Multipurpose Internet Mail Encoding (MIME) type of the requested resource (for example, text/html, image/gif, and so on), and establish other resource-specific settings.
Select filters that will process incoming request data read by the Service step.
Select filters that will process outgoing response data generated by the Service step.
Select the server to service the request.
Generate and return the response to the client.
Add entries to log files.
Send an error message to the client and exit processing. This step is executed only if an error occurs in the previous steps.