/atg/dynamo/servlet/pipeline/CgiServlet (DAS)

CgiServlet identifies CGI requests by examining the request path to determine whether it is a CGI request. If so, the CgiServlet handles the request. If not, it passes the request on down the pipeline. CgiServlet identifies CGI requests by MIME type (for instance, requests for files with the .cgi file extension) or path (requests for files in the /cgibin directory).

The servlet must be configured with a property called mimeTyper that identifies the MIME typer to use. The servlet uses the MIME typer service to attempt to identify whether a request is a CGI request based on the MIME type. Another property, cgiDirectoryMap, specifies the directory that includes CGI scripts. For example:


loading table of contents...