1
0
mirror of https://github.com/apache/httpd.git synced 2025-12-24 15:01:03 +03:00

Add ability to handle arbitrary methods to Script directive.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84247 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ken Coar
1999-12-08 19:02:19 +00:00
parent daa98a81ac
commit b2a0a30ed9

View 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