From: Joshua Slive
-This module is contained in the This module provides for executing CGI scripts based on media type or
+request method.
+ Status: Base
+
-This module lets you run CGI scripts whenever a file of a certain type
-is requested. This makes it much easier to execute scripts that
+This module has two directives. The Action directive lets you run CGI
+scripts whenever a file of a certain type is requested. The Script
+directive lets you run CGI scripts whenever a particular method is
+used in a request. This makes it much easier to execute scripts that
process files.
Module mod_actions
-mod_actions.c
file, and
-is compiled in by default. It provides for
-executing CGI scripts based on media type or request method. It is not
-present in versions prior to Apache 1.1.
+
+
+
+Source File: mod_actions.c
+
+Module Identifier: actions_module
Summary
Directives
@@ -56,12 +75,7 @@ process files.
Module: mod_actions
-Compatibility: Action is only available in Apache 1.1
-and later
+>Module: mod_actions
This directive adds an action, which will activate cgi-script when
@@ -89,12 +103,7 @@ PATH_INFO and PATH_TRANSLATED environment variables.
Module: mod_actions
-Compatibility: Script is only available in Apache 1.1
-and later; arbitrary method use is only available with 1.3.10 and later
+>Module: mod_actions
@@ -104,12 +113,9 @@ URL and file path of the requested document using the standard CGI PATH_INFO and PATH_TRANSLATED environment variables.
-Prior to Apache 1.3.10, method can only be -one ofGET
,POST
,PUT
, or -DELETE
. As of 1.3.10, any arbitrary method name -may be used. Method names are case-sensitive, so -Script PUT
andScript put
-have two entirely different effects. +Any arbitrary method name may be used. Method names are +case-sensitive, soScript PUT
and +Script put
have two entirely different effects.
Note that the Script command defines default actions only. If a CGI @@ -123,7 +129,9 @@ will proceed normally. Examples:
- Script GET /cgi-bin/search #e.g. for <ISINDEX>-style searching + # For <ISINDEX>-style searching + Script GET /cgi-bin/search + # A CGI PUT handler Script PUT /~bob/put.cgi