From e04f6664d1fec93ef66e0ca65b18cde4550b22a5 Mon Sep 17 00:00:00 2001
From: Astrid Malo
In the first example, requests for files with a MIME content
- type of image/gif
will instead be handled by the
+ type of image/gif
will be handled by the
specified cgi script /cgi-bin/images.cgi
.
In the second example, requests for files with a file extension of
- .xyz
are handled instead by the specified cgi script
+ .xyz
are handled by the specified cgi script
/cgi-bin/program.cgi
.
The optional virtual
modifier turns off the check
@@ -125,7 +125,8 @@ method.
method. The cgi-script is the URL-path to a
resource that has been designated as a CGI script using ScriptAlias
or AddHandler
. The URL and
file path of the requested document is sent using the standard CGI
- PATH_INFO and PATH_TRANSLATED environment variables.
PATH_INFO
and PATH_TRANSLATED
environment
+ variables.
Note that the Script command defines default actions only. - If a CGI script is called, or some other resource that is +
Note that the Script
command defines default
+ actions only. If a CGI script is called, or some other resource that is
capable of handling the requested method internally, it will do
- so. Also note that Script with a method of GET
- will only be called if there are query arguments present
+ so. Also note that Script
with a method of
+ GET
will only be called if there are query arguments present
(e.g., foo.html?hi). Otherwise, the request will
proceed normally.
In the first example, requests for files with a MIME content
- type of image/gif
will instead be handled by the
+ type of image/gif
will be handled by the
specified cgi script /cgi-bin/images.cgi
.
In the second example, requests for files with a file extension of
- .xyz
are handled instead by the specified cgi script
+ .xyz
are handled by the specified cgi script
/cgi-bin/program.cgi
.
The optional virtual
modifier turns off the check
@@ -104,7 +104,8 @@ method.
module="mod_alias">ScriptAlias or
PATH_INFO
and PATH_TRANSLATED
environment
+ variables.
Note that the Script command defines default actions only. - If a CGI script is called, or some other resource that is +
Note that the GET
- will only be called if there are query arguments present
+ so. Also note that GET
will only be called if there are query arguments present
(e.g., foo.html?hi). Otherwise, the request will
proceed normally.