]> granicus.if.org Git - apache/commitdiff
Update mod_actions.
authorJoshua Slive <slive@apache.org>
Mon, 25 Sep 2000 19:04:46 +0000 (19:04 +0000)
committerJoshua Slive <slive@apache.org>
Mon, 25 Sep 2000 19:04:46 +0000 (19:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86320 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/index-bytype.html
docs/manual/mod/index.html
docs/manual/mod/mod_actions.html

index a83eb3a900de32e33d39b9278b99c381dfa244b3..5d647f4c65517e10fb308162deb2ca58f992c5d0 100644 (file)
@@ -118,8 +118,8 @@ directives</A>.
 <DD>Server-parsed documents.
 <DT><A HREF="mod_cgi.html">mod_cgi</A>
 <DD>Invoking CGI scripts.
-<DT><A HREF="mod_actions.html">mod_actions</A> Apache 1.1 and later.
-<DD>Filetype/method-based script execution
+<DT><A HREF="mod_actions.html">mod_actions</A>
+<DD>Executing CGI scripts based on media type or request method.
 <DT><A HREF="mod_isapi.html">mod_isapi</A>
 <DD>Windows ISAPI Extension support
 </DL>
index fdcf77e5cedbc518be826356d0562703b77994f3..092b26b3f1cd7bae9dbb68335c2ef3d840538d9e 100644 (file)
@@ -29,8 +29,8 @@ directives</A>.
 <DD>Core Apache features.
 <DT><A HREF="mod_access.html">mod_access</A>
 <DD>Access control based on client hostname or IP address.
-<DT><A HREF="mod_actions.html">mod_actions</A> Apache 1.1 and later.
-<DD>Filetype/method-based script execution
+<DT><A HREF="mod_actions.html">mod_actions</A>
+<DD>Executing CGI scripts based on media type or request method.
 <DT><A HREF="mod_alias.html">mod_alias</A>
 <DD>Aliases and redirects.
 <DT><A HREF="mod_asis.html">mod_asis</A>
index 05d7969bde5a2bfc3fc2704d2b1ac2ca44e5819a..21f503db74849d00e381aa6194fe529b9446bf66 100644 (file)
 >
 <!--#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>
@@ -56,12 +75,7 @@ process files.
 <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
@@ -89,12 +103,7 @@ PATH_INFO and PATH_TRANSLATED environment variables.
 <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>
@@ -104,12 +113,9 @@ URL and file path of the requested document using the standard
 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&nbsp;PUT</code> and <code>Script&nbsp;put</code>
-have two entirely different effects.
+Any arbitrary method name may be used.  <b>Method names are
+case-sensitive</b>, so <code>Script&nbsp;PUT</code> and
+<code>Script&nbsp;put</code> have two entirely different effects.
 </blockquote>
 <P>
 Note that the Script command defines default actions only. If a CGI
@@ -123,7 +129,9 @@ will proceed normally.
 Examples:
 </P>
 <PRE>
-    Script GET /cgi-bin/search     #<EM>e.g.</EM> for &lt;ISINDEX&gt;-style searching
+    # For &lt;ISINDEX&gt;-style searching
+    Script GET /cgi-bin/search
+    # A CGI PUT handler
     Script PUT /~bob/put.cgi
 </PRE>