Chapter 4 Configuring Web Servers and Web sites
This section provides a detailed explanation of how to set up an ISAPI server to run with PowerDynamo.
IIS 4.0
If you have the Internet Information
Server NT 4.0 option pack, see "Configuring an ISAPI
4.0 server".
Steps 1 and 2 are part of the PowerDynamo installation procedure. These steps are not necessary if the Web server was detected and configured during installation. Steps 3 through 5 must still be completed.
For more information on configuring Web servers during installation see "Configuring Web servers during installation".
In Step two, you will copy DLLs to the InetPub\scripts directory of the ISAPI Web server. For the Microsoft server to find these DLLs, you must edit your computer's system path to include the directory containing the DLLs.
Windows 95
If you are running Windows 95, edit
the path to include the directory containing the new DLLs.
The DLL directory is added to the system path, not the user path. ISAPI servers run as Windows NT services on the NT operating system.
You must install the Application Server software into a directory defined as executable by the Web server. Microsoft presets the InetPub\scripts directory as being executable. For this reason, we recommend that you copy the appropriate DLLs to this directory.
The PowerDynamo Application Server for ISAPI Web servers includes the following files:
The following required Power++ runtime libraries are automatically installed into your Windows SYSTEM directory or your Windows NT system32 directory.
The dyisa03.dll provides translation capabilities so that users can enter a standard URL call (http://localhost/Site/Contents.stm) instead of the longer ISAPI call (http://localhost/Scripts/dyisa03.dll/Site/Contents.stm).
To load dyisa03.dll properly, you must create an IIS virtual directory, and set the ISAPI filter for PowerDynamo.
To create an IIS virtual directory
The virtual directory is now set.
To set the ISAPI filter DLL:
An ODBC System DSN is the same as an ODBC DSN except that the System DSN is available to all users on a machine, including services.
Note If you are connecting to a file-based Web site, or using an Open Client connection, this step is not necessary. If you are using Windows 95, create a data source; you do not need a system DSN.
To create an ODBC System Data Source Name:
Creating an ODBC data source to connect
to an Adaptive Server Enterprise database
When you are creating an ODBC data
source for an Adaptive Server Enterprise database the Select Method
must be set to 0 - Cursor for Dynamo to work. The Select method
setting is located within the ODBC Administrator -> ODBC Sybase
Driver Setup -> Performance Tab
To ensure that the ODBC data source is available:
You should create a connection profile for your Web site to store connection information in the registry in encrypted form. This information is used by Sybase Central, the Personal Web Server, and the Dynamo Application Servers.
Note
If you are connecting to a file-based
Web site, or using an Open Client connection, see "Creating a connection profile for your Web site".
To create an ODBC connection profile for your Web site:
Once the site Web server receives an URL from a Web client, it passes it to the Dynamo Application Server, which locates and processes the document. You must add a mapping to the Application Server so it can locate the path to the document.
To add a new mapping using the Dynamo Configuration folder:
For a more detailed description of how to configure the Dynamo sites using Sybase Central and the Configuration folder, see "Configuring Web sites".
Copyright © 1999 Sybase, Inc. All rights reserved. |