The cgi element configures the CGI execution subsystem. This element may appear zero or one time within the server element. For more information, see server.
The cgi element can contain the following subelements:
Table 3–8 List of cgi Subelements
Element |
Occurrences |
Description |
---|---|---|
timeout |
0 or 1 |
The timeout (in seconds) after which the server will terminate a CGI program. The value can be from 0.001 to 3600, or -1 for no timeout. |
idle-timeout |
0 or 1 |
The timeout (in seconds) after which the server will terminate a nonresponsive CGI program. The value can be from 0.001 to 3600. |
cgistub-path |
0 or 1 |
The path to the Cgistub binary. If a relative path is used, it is relative to the server's config directory. |
cgistub-idle-timeout |
0 or 1 |
The timeout (in seconds) after which an unused Cgistub process will be terminated. The value can be from 0.001 to 3600. |
min-cgistubs |
0 or 1 |
The minimum number of Cgistub processes the server keeps on hand, waiting to run the CGI programs. The value can be from 0 to 4096. |
max-cgistubs |
0 or 1 |
The maximum number of Cgistub processes the server keeps on hand, waiting to run the CGI programs. The value can be from 1 to 4096. |
env-variable |
0 or more |
Configures the CGI program environment variables. For more details, see env-variable. |