This module has two directives. The
This directive adds an action, which will activate
cgi-script when action-type is triggered by
the request. The cgi-script is the URL-path to a
resource that has been designated as a CGI script using PATH_INFO
and PATH_TRANSLATED
environment variables. The handler used for the particular request
is passed using the REDIRECT_HANDLER
variable.
In this example, requests for files with a MIME content
type of image/gif
will be handled by the
specified cgi script /cgi-bin/images.cgi
.
In this example, requests for files with a file extension of
.xyz
are handled by the specified cgi script
/cgi-bin/program.cgi
.
The optional virtual
modifier turns off the check
whether the requested file really exists. This is useful, for example,
if you want to use the
This directive adds an action, which will activate
cgi-script when a file is requested using the method of
method. The cgi-script is the URL-path to a
resource that has been designated as a CGI script using PATH_INFO
and PATH_TRANSLATED
environment
variables.
Script PUT
and
Script put
have two entirely different
effects.
Note that the GET
will only be called if there are query arguments present
(e.g., foo.html?hi). Otherwise, the request will
proceed normally.