Enhydra Director README File


Apr. 13, 2000


John Marco, Lutris Technologies



This document previously contained the installation notes for the Apache module for Enhydra Director. More up-to-date installation notes are now available in the form of 'INSTALL.TXT' files in each source subdirectory. The same installation notes are also available in HTML form in the /doc/admin/director.html file as part of the Enhydra online documentation.

Apache Module

The Apache implementation of Enhydra Director is an Apache 1.3.x module that is compiled and installed directly into your Apache server. The 'mod_enhydra_director.so' file is the name of the compiled module. Also, due to the design of the Apache server, a daemon program runs and performs housekeeping on a shared memory scoreboard that is used by the httpd child processes to keep track of multiserver connection traffic for load balancing and fail-over purposes. This daemon program is called 'edir_daemon'. A rough and simple debugging utility, 'edir_status' also exists to check the state of the shared memory scoreboard. This utility exists only for Apache because of its shared memory design.

For more information on the Enhydra Director module for Apache, see the INSTALL.TXT file from the 'apache' subdirectory of the EnhydraDirector source tree.

NSAPI Module

The Netscape server implementation of Enhydra Director is an NSAPI server extension. This extension is normally compiled and installed on the Netscape Web server following the usual procedures for an NSAPI plugin. Additionally, the standard releases of Enhydra contain pre-built 'DLL' binaries for installation on Microsoft Windows NT or Windows 2000 systems.

Because the Netscape server implements a multithreaded shared memory design, there is no shared memory functionality in the NSAPI plugin, and the 'edir_daemon' and 'edir_status' are not available.

For more information on the Enhydra Director module for NSAPI, see the INSTALL.TXT file from the 'nsapi' subdirectory of the EnhydraDirector source tree.

IIS Module

The Microsoft IIS implementation of Enhydra Director consists of both an ISAPI filter DLL and an ISAPI extension DLL. The IIS module only operates on Windows NT or Windows 2000, since those are the platforms supported by IIS. The DLLs can be built from source code using Visual C++ 6.0 or later, or pre-built binaries can be obtained from the Enhydra release.

Because the IIS server implements a multithreaded shared memory design, there is no shared memory functionality in the ISAPI plugins, and the 'edir_daemon' and 'edir_status' are not available.

For more information on the Enhydra Director module for IIS, see the INSTALL.TXT file from the 'isapi' subdirectory of the EnhydraDirector source tree.

CGI Module (Unsupported)

There is a CGI module under the Enhydra Director source tree that should be fairly functional. However, keep in mind that this module is given last priority in testing and is intended for instructional purposes only. Use this module at your own risk.

The CGI module is very useful if you are a developer and need to debug protocol issues or other low level things in a controlled environment. This module has only ever been used in an Apache server (which does not need to use CGI anyway.) If you wish to try using this module on some other web server you'll need to look carefully at 'cgi_main.c' and make sure the right CGI environment variables are being retrieved for your server. There ARE slight differences from one server to the next. A more troublesome issue will be the need for the equivalent of the direcive in apache, since the URL prefix must match the configured URL prefix on the Enhydra back-end server. Also be aware that the CGI module is SLOW because of the need to reload the CGI program on every single request. In general CGI programs perform more poorly than direct HTTP server plugins like Apache modules or NSAPI plugins.