Enabling the CGI  Web Service Extension  on a Windows Server 2003 (IIS6)

 

In order to run CGI , you must add the CGI program executable to the Web Service Extension Restriction List (WSERL). You can do this in one of two ways: 

Use the Web Service Extension section of the IIS Manager MMC to allow all CGI programs to run, regardless of whether they are entered in the  WSERL.

Note: this option is easier to implement but somewhat less secure in that it may allow other CGI programs to run on the server.

Method 1:

1)Open the IIS Manager MMC applet 

2)Choose the Web Service Extensions section

3)Set the "Allow All Unknown CGI Extensions" option to "Allow" by clicking on the Allow button as shown below. The All Unknown CGI Extensions Status should now show as Allowed

 

 

Method 2: 

Use the IIS IisExt.vb command-line script to add the executable to the WSERL. 

1)Open a Command Prompt window and change to the System32 folder

(typically c:\Windows\System32)

 

1)Type the following: 

 

                      iisext /EnFile C:\Program Files\ISE\EnterpriseSCHEDULE\SCHEDULE.CGI

 

                      You should see the following response:

                      Connecting to server ...Done.

                      Enabling extension file complete. 

For more information see the Microsoft Knowledgebase article 328360 and Configuring CGI Applications pages.