Table of Contents Previous Section

Installing and Configuring the ISAPI Adaptor

If you have one of Microsoft's Internet Information Servers (IIS), such as the Peer Web server that comes with the NT Workstation or the IIS 2.0 server that comes with NT Server 4.0, you need to install and configure the ISAPI adaptor that comes with WebObjects Enterprise.

Note: This procedure is applicable only to the WebObjects Enterprise product on Windows NT platforms.

  1. Copy the ISAPI adaptor from its installation location to the server's "Scripts" directory:
        cp C:/NeXT/NextLibrary/WOAdaptors/ISAPI/WebObjects-ISAPI.dll C:/INETPUB/Scripts
    

    This example assumes that NEXT_ROOT is C:\NeXT\ and that the IIS server is installed in C:\INETPUB. These directories could be different on your system (for instance, the server could be installed in D:\INETPUB). This example also shows a copy operation using the cp command in a Bourne shell; alternatively, you could copy the DLL using the NT Explorer program or through similar programs.

  2. For load balancing, create a WebObjects.conf file in the NT system directory (usually C:\WINNT\System32) or copy an existing WebObjects.conf to that location. Again, the drive letter where Windows NT is installed could be different on your system (it could be "D" instead of "C," for example). See "Load Balancing" for the load-balancing procedure.

  3. Set up your site so that the proper URL for the ISAPI adaptor is submitted when users click buttons, images, or hyperlinks that have as targets WebObjects applications. This URL has the form:
        http://host/Scripts/WebObjects-ISAPI.dll/ApplicationPath
    

    For HTTP requests that use the CGI adaptor, make sure that the URLs conform to this format:

        http://host/Scripts/WebObjects.exe/ApplicationPath
    

Table of Contents Next Section