How to setup CGI in IIS 10 on Windows Server 2019

0 Likes
  1. In the Start menu, click the Server Manager tile, and then click OK.

  2. In Server Manager, select Dashboard, and click Add roles and features.

  3. In the Add Roles and Features Wizard, on the 'Before You Begin' page, click Next.

  4. On the 'Select Installation Type' page, select Role-based or Feature-based Installation and click Next

  5. On the 'Select Destination Server' page, select a server from the server pool, select the server, and click Next.

  6. On the 'Select Server Roles' page, select Web Server (IIS).

 

iis-1.png

  1. Click next 3 more times to reach the 'Role Services' page.

  2. Expand 'Web Server' > 'Application Development' and check the 'CGI' box. Click next.

  3. On the 'Installation Progress' page, confirm that the installation of the Web Server (IIS) role and required role services completed successfully, and then click Close.

  4. To verify that IIS installed successfully, type the following into a web browser:

    http://localhost

    The default IIS Welcome page should appear.

  5. Start 'Internet Information Services (IIS) Manager' and click the "Default Web Site" in the Connections Panel (left).

  6. Double click the "Handler Mappings" icon in the Home panel (center).

iis-2.png

 

  1. Double click the "CGI-exe" item and an "Edit Script Map" pop-up window will appear.

  2. Type '*.acu' in the "Request path" field.

  3. Type C:\PathTo\AcuGT\bin\wrun32.exe -f %s in the "Executable" field.

 

iis-3.png

 

 

 

 

 

 

 

 

 

 

  1. Click "OK" to close the "Edit Script Map" pop-up window.                                                                                                                                                                                       
  2. This will trigger an "Edit Script Map" question asking to allow this ISAPI extension. click "Yes".

  3. Right click on the CGI-exe entry that was edited in the previous step and select 'Edit feature permissions'.

  4. Make sure the 'Execute' check box is enabled then click OK.

 

iis-4.png

  1. At this point, follow the setup instructions for the cgi/oscars.acu sample program.

Martin Turner

Product Support Engineer

Micro Focus

Tags:

Labels:

HowTo
Tip from Support
Information
Comment List
Anonymous
Related Discussions
Recommended