>
<!--#include virtual="header.html" -->
<H1 ALIGN="CENTER">Module mod_actions</H1>
-<P>
-This module is contained in the <CODE>mod_actions.c</CODE> 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.
+
+
+<p>This module provides for executing CGI scripts based on media type or
+request method.
+</p>
+
+<P><A
+HREF="module-dict.html#Status"
+REL="Help"
+><STRONG>Status:</STRONG></A> Base
+<BR>
+<A
+HREF="module-dict.html#SourceFile"
+REL="Help"
+><STRONG>Source File:</STRONG></A> mod_actions.c
+<BR>
+<A
+HREF="module-dict.html#ModuleIdentifier"
+REL="Help"
+><STRONG>Module Identifier:</STRONG></A> actions_module
</P>
+
<H2>Summary</H2>
<P>
-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.
</P>
+
<H2>Directives</H2>
<UL>
-<LI><A HREF="#action">Action</A>
-<LI><A HREF="#script">Script</A>
+<LI><A HREF="#action">Action</A></LI>
+<LI><A HREF="#script">Script</A></LI>
</UL>
<HR>
<A
HREF="directive-dict.html#Module"
REL="Help"
-><STRONG>Module:</STRONG></A> mod_actions<BR>
-<A
- HREF="directive-dict.html#Compatibility"
- REL="Help"
-><STRONG>Compatibility:</STRONG></A> Action is only available in Apache 1.1
-and later
+><STRONG>Module:</STRONG></A> mod_actions
</P>
<P>
This directive adds an action, which will activate <EM>cgi-script</EM> when
<A
HREF="directive-dict.html#Module"
REL="Help"
-><STRONG>Module:</STRONG></A> mod_actions<BR>
-<A
- HREF="directive-dict.html#Compatibility"
- REL="Help"
-><STRONG>Compatibility:</STRONG></A> Script is only available in Apache 1.1
-and later; arbitrary method use is only available with 1.3.10 and later
+><STRONG>Module:</STRONG></A> mod_actions
</P>
<P>
CGI PATH_INFO and PATH_TRANSLATED environment variables.
</P>
<blockquote>
-Prior to Apache 1.3.10, <i>method</i> can only be
-one of <code>GET</code>, <code>POST</code>, <code>PUT</code>, or
-<code>DELETE</code>. As of 1.3.10, any arbitrary method name
-may be used. <b>Method names are case-sensitive</b>, so
-<code>Script PUT</code> and <code>Script put</code>
-have two entirely different effects.
+Any arbitrary method name may be used. <b>Method names are
+case-sensitive</b>, so <code>Script PUT</code> and
+<code>Script put</code> have two entirely different effects.
</blockquote>
<P>
Note that the Script command defines default actions only. If a CGI
Examples:
</P>
<PRE>
- Script GET /cgi-bin/search #<EM>e.g.</EM> for <ISINDEX>-style searching
+ # For <ISINDEX>-style searching
+ Script GET /cgi-bin/search
+ # A CGI PUT handler
Script PUT /~bob/put.cgi
</PRE>