To Configure IIS on a Windows 2000 Server

Following is a procedure for associating your ".acu" applications with the ACUCOBOL-GT runtime using Microsoft's Internet Information Server (IIS) Version 5.0 on a Windows 2000 Server. Your own Web server software may vary.

  1. Start the Internet Services Manager, normally available under Start/Programs/Administrative Tools/Internet Services Manager.
  2. Select "Default Web Site" (or the Web site you wish to configure) in the left pane.
  3. Expand this node and select the directory (or virtual directory) containing your ACUCOBOL-GT CGI program files.
  4. From the Action menu, select Properties.
  5. In the Properties sheet, select the Directory (or Virtual Directory) tab.
  6. Uncheck the "Read" check-box. This will prevent the Web server from trying to deliver your object files to the client.
  7. Create an application by clicking the Create button under Application Settings. (If the application has already been created, you will see a Remove button instead of a Create button. If so, skip this step.)
  8. Set the "Application name" field to any name of your choosing. The default value is the name of the containing directory or virtual directory.
  9. Make sure the "Execute Permissions" field is set to "Scripts only". This is the default.
  10. Click the Configuration... button. A configuration screen appears with the "App Mappings" tab selected.
  11. Click the Add button.
  12. In the "Executable" field, enter the path to the ACUCOBOL-GT runtime ("wrun32.exe"), or use the Browse button to locate it.
  13. To the end of this path, add your desired runtime options, followed by a space and "%s". Be sure to include the "-f" runtime option.

    For instance:

    C:\Program Files\Micro Focus\Acucbl900\AcuGT\bin\wrun32.exe -f "%s"
  14. In the "Extension" field, enter the extension you use for your ACUCOBOL-GT object files (by default, ".acu").
  15. Click OK three times to close the Add dialog, the Configuration screen, and the Properties sheet.