The cgi handler executes CGI programs.
This module accepts three parameters:
Parameters | Type | Description |
---|---|---|
Script Alias | String | It defines a kind of execution interpreter. |
Change to UID | String | It interprets each CGI as it owner user. |
Error handler | Boolean | Use CGI output as error message. |
Check file | Boolean | Check if the file exists. |
Pass request | Boolean | Pass request headers. |
This is a pretty common example. It defines a directory called cgi which points to a path out of the Sever root directory where are located the CGI programs.