]> granicus.if.org Git - apache/commitdiff
Add ability to handle arbitrary methods to Script directive.
authorKen Coar <coar@apache.org>
Wed, 8 Dec 1999 19:02:19 +0000 (19:02 +0000)
committerKen Coar <coar@apache.org>
Wed, 8 Dec 1999 19:02:19 +0000 (19:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84247 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_actions.html

index 43174f7701832ded4f842a701a3ce4c259362586..05d7969bde5a2bfc3fc2704d2b1ac2ca44e5819a 100644 (file)
@@ -94,17 +94,23 @@ PATH_INFO and PATH_TRANSLATED environment variables.
  HREF="directive-dict.html#Compatibility"
  REL="Help"
 ><STRONG>Compatibility:</STRONG></A> Script is only available in Apache 1.1
-and later
+and later; arbitrary method use is only available with 1.3.10 and later
 </P>
 
 <P>
-This directive adds an action, which will activate <EM>cgi-script</EM> when
-a file is requested using the method of <EM>method</EM>, which can be
-one of <CODE>GET</CODE>, <CODE>POST</CODE>, <CODE>PUT</CODE> or
-<CODE>DELETE</CODE>. It sends the
+This directive adds an action, which will activate <i>cgi-script</i> when
+a file is requested using the method of <i>method</i>.  It sends the
 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.
+</blockquote>
 <P>
 Note that the Script command defines default actions only. If a CGI
 script is called, or some other resource that is capable of handling