Apache Reference: mod_actions, Script
Script
Action to Trigger an HTTP Request Method
Syntax: Script method A
Example: Script PUT /cgi-bin/upload
Since: Apache 1.1
This directive defines an action, that will activate the CGI script cgi-script when a file is requested using the HTTP method of method (either
GET,POST,PUT, orDELETE). The URL and file path of the requested document are delivered to cgi-script via the standard SSI/CGIPATH_IN==FOandPATH_TRANSLATEDenvironment variables. Note that the Script directive defines only default actions. If a CGI script, or some other resource that is capable of handling the requested method internally is called, then that action will be taken. Also note that Script will be called with a method ofGETonly if query arguments are present (such as, ``foo.html?bar'' for use with HTMLISINDEX-style processing). Otherwise, the request will proceed normally.