From: Joshua Slive Date: Mon, 25 Sep 2000 19:04:46 +0000 (+0000) Subject: Update mod_actions. X-Git-Tag: APACHE_2_0_ALPHA_7~104 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f41b93b34e615bdd6af043b6e2750762be4ab3a5;p=apache Update mod_actions. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86320 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/index-bytype.html b/docs/manual/mod/index-bytype.html index a83eb3a900..5d647f4c65 100644 --- a/docs/manual/mod/index-bytype.html +++ b/docs/manual/mod/index-bytype.html @@ -118,8 +118,8 @@ directives.
Server-parsed documents.
mod_cgi
Invoking CGI scripts. -
mod_actions Apache 1.1 and later. -
Filetype/method-based script execution +
mod_actions +
Executing CGI scripts based on media type or request method.
mod_isapi
Windows ISAPI Extension support diff --git a/docs/manual/mod/index.html b/docs/manual/mod/index.html index fdcf77e5ce..092b26b3f1 100644 --- a/docs/manual/mod/index.html +++ b/docs/manual/mod/index.html @@ -29,8 +29,8 @@ directives.
Core Apache features.
mod_access
Access control based on client hostname or IP address. -
mod_actions Apache 1.1 and later. -
Filetype/method-based script execution +
mod_actions +
Executing CGI scripts based on media type or request method.
mod_alias
Aliases and redirects.
mod_asis diff --git a/docs/manual/mod/mod_actions.html b/docs/manual/mod/mod_actions.html index 05d7969bde..21f503db74 100644 --- a/docs/manual/mod/mod_actions.html +++ b/docs/manual/mod/mod_actions.html @@ -14,22 +14,41 @@ >

Module mod_actions

-

-This module is contained in the 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. + + +

This module provides for executing CGI scripts based on media type or +request method. +

+ +

Status: Base +
+Source File: mod_actions.c +
+Module Identifier: actions_module

+

Summary

-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.

+

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 of GET, POST, PUT, or -DELETE. As of 1.3.10, any arbitrary method name -may be used. Method names are case-sensitive, so -Script PUT and Script put -have two entirely different effects. +Any arbitrary method name may be used. Method names are +case-sensitive, so Script 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