2.3.125 Script
Script executes a CGI script for a specific method.
Description
Script executes the script specified by CGI_script_name when a request is made using the specified method.
- Specifiable methods:
-
GET, POST, PUT, DELETE
The method name is case sensitive.
However, for the GET method, the script is called only if the request contains query arguments (for example, /foo.html?bar).
Syntax
Script method CGI_script_name
Locations where it can be written
httpsd.conf, <VirtualHost> and <Directory>
Example
Script POST /cgi-bin/search