The CGI tab enables you to link DWebPro to third party engines, such as PHP and Perl, that use the CGI interface for communicating.
The CGI tab
In the Add-On Packages topic you can find the following preconfigured packages that use CGI:
More information about the PHP support are explained in the PHP and MySQL FAQs topic.
The fields in http.ini specific to the
CGI section are shown below. The CGI0 section is the first one of n sections for configuring the scripting server side engines
in CGI. The numbering of these sessions starts from 0 and must be sequential at intervals of 1 (no
exceptions).
[CGI0] Path=##DWEBPRO_PATH##\engine\php4\php.exe Extensions=.php|.php3|.phtml|.php4|.php|.php3|.phtml|.php4 Params=
Path
Path
Path specifies the path for the CGI to
use and accepts only the ##DWEBPRO_PATH## constant. Refer to the DWebPro Internal Constants topic for additional information on constants.
Accepted values: string
Extensions
Extensions
Extensions specifies file extensions
to be associated to this CGI executable.
Accepted values: string, separated by
the "|" character
Params
Params
Params specifies the parameters to be
transmitted to the CGI. The
%s string will be
substituted at runtime with the path of the script to execute. Accepted values: string

