Configuring Microsoft IIS for your web server programs

To run OmniMark web server programs, including CGI programs, on your Microsoft IIS web server (including the Personal Web Server (PWS)), you should register *.xar files by doing the following:

  1. Bring up the Internet Service Manager (ISM) (for IIS, usually under Programs / Windows NT 4.0 Option Pack / Microsoft Internet Information Server / Internet Service Manager; for PWS, usually under Programs / Windows NT 4.0 Option Pack / Microsoft Personal Web Server / Internet Service Manager).
  2. Navigate through the ISM until you find your website (select your customized website name or else look under your machine name or IP address for "Default Web Site"). Highlight the website name, right-click, and select Properties.
  3. In the Properties dialog box, you will see several tabs. Select the Home Directory tab.
  4. On the Home Directory tab, under Application Settings, for Permissions, select Script.
  5. Click the Configuration button, and an Application Configuration dialog box with three tabs will appear. Select the App Mappings tab.
  6. Under App Mappings, click Add. A new dialog box will appear.
  7. Under Executable, add the line 'C:\OmniMark\ConcurrentProcessingEngine8.0\omcpe.exe -f "%s"'.
  8. Under Extension, add ".xar".
  9. Under Method exclusions, add "PUT,DELETE".
  10. Check the box next to "Script Engine". Uncheck the box next to "Check that file exists".
  11. Click OK.

Next, in your *.xar files, use omnimark -f to include the standard arguments that you would need to execute your OmniMark program from the command line.