Windows CGI programs are handled much as other CGI programs. You specify a directory that contains only Windows CGI programs, or you specify that all Windows CGI programs have the same file extension. Like other CGI programs, you can use both methods at the same time if you want to. For example, you can create a directory for all your Windows CGI programs, and specify a Windows CGI file extension.
Although Windows CGI programs behave like regular CGI programs, your server processes the actual programs slightly differently. Therefore, you need to specify different directories for Windows CGI programs. If you enable the Windows CGI file type, it uses the file extension .wcg.
Sun Java System Web Servers support the Windows CGI 1.3a informal specification, with the following differences:
The following keywords have been added to the [CGI] section to support security methods:
HTTPS: its value is on or off, depending on whether the transaction is conducted through SSL.
HTTPS Keysize: When HTTPS is on, this value reports the number of bits in the session key used for encryption.
HTTPS Secret Keysize: When HTTPS is on, this value reports the number of bits used to generate the server’s private key.
The keyword Document Root in the [CGI] section might not refer to the expected document root because the server does not have a single document root. The directory returned in this variable is the root directory for the Windows CGI program.
The keyword Server Admin in the [CGI] section is not supported.
The keyword Authentication Realm in the [CGI] section is not supported.
Forms sent with multi-part/form-data encoding are not supported.