PMDF popstore & MessageStore Manager's Guide
PMDF-POP-6.0


Previous | Contents

4.2.2 Generating HTTP responses

After processing an HTTP request from a client, the result of processing the command is sent back as an HTTP response to the client. The format of the response is governed by formatting files specified in the command from the client. That is, the request from the client includes the names of formatting files on the CGI server system that are to be used to format the response sent back to the client. On OpenVMS systems, these files must reside in the PMDF_ROOT:[WWW.POPSTORE] directory; on UNIX and NT systems, these files must reside in the /pmdf/www/popstore/ directory tree.

The formatting files may contain text to be copied verbatim into the HTTP response as well as directives to substitute in values associated with the results of a particular command. There are three basic types of formatting files: success, error, and command-specific files.

After the CGI parses a request and executes it, the results of the operation are sent back to the HTTP client using the following formatting steps: