You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sl...@locus.apache.org on 2000/09/25 21:04:47 UTC

cvs commit: httpd-docs-2.0/htdocs/manual/mod mod_actions.html index.html index-bytype.html

slive       00/09/25 12:04:46

  Modified:    htdocs/manual/mod mod_actions.html index.html
                        index-bytype.html
  Log:
  Update mod_actions.
  
  Revision  Changes    Path
  1.15      +36 -28    httpd-docs-2.0/htdocs/manual/mod/mod_actions.html
  
  Index: mod_actions.html
  ===================================================================
  RCS file: /home/cvs/httpd-docs-2.0/htdocs/manual/mod/mod_actions.html,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- mod_actions.html	1999/12/08 19:02:19	1.14
  +++ mod_actions.html	2000/09/25 19:04:45	1.15
  @@ -14,22 +14,41 @@
   >
   <!--#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>
  @@ -55,13 +74,8 @@
   ><STRONG>Status:</STRONG></A> Base<BR>
   <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
  @@ -88,13 +102,8 @@
   ><STRONG>Status:</STRONG></A> Base<BR>
   <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 @@
   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 @@
   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>
   
  
  
  
  1.35      +2 -2      httpd-docs-2.0/htdocs/manual/mod/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/httpd-docs-2.0/htdocs/manual/mod/index.html,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- index.html	2000/09/23 20:14:32	1.34
  +++ index.html	2000/09/25 19:04:45	1.35
  @@ -29,8 +29,8 @@
   <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>
  
  
  
  1.3       +2 -2      httpd-docs-2.0/htdocs/manual/mod/index-bytype.html
  
  Index: index-bytype.html
  ===================================================================
  RCS file: /home/cvs/httpd-docs-2.0/htdocs/manual/mod/index-bytype.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- index-bytype.html	2000/09/23 20:14:32	1.2
  +++ index-bytype.html	2000/09/25 19:04:46	1.3
  @@ -118,8 +118,8 @@
   <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>