Servertec   AOL Server Gateway
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
iServer
AOL Gateway
Apache Gateway
ISAPI Gateway
NSAPI Gateway
CGI Gateway
Java Gateway
Add-ons
How To
Change Log
Future Plans
Knowledge Base
Documentation
Samples
Sales
Legal
Feedback

 

Select the platform to install the AOL Server Gateway under:
Windows 9x/NT
Linux/Unix
Use the instructions below to configure the AOL Web Server or other Application/Web Servers running on Windows 9x/NT supporting AOL Server Modules to use iServer as their Servlet Engine.
  1. Install and configure iServer.

  2. Install and configure AOL Web Server or other Application/Web Server that supports AOL Server Modules.

  3. Add the following section to the nsd.tcl file before the ns_section "ns/server/${servername}/modules" section.

    ns_section "ns/server/${servername}/module/aolServerGateway"
    ns_param debug debug
    ns_param alias alias
    ns_param method "method"
    ns_param server "host_name:port"
    ns_param interval interval
    ns_param retry retry

    alias the URI used to access the iServer AOL Server Gateway, normally /servlet.
    debug whether to make a dump of the request/response to \temp\aolServerGateway.log [ true | false ], normally false.
    host_name the name of the host computer running iServer. If iServer is running on the same computer as the iServer AOL Server Gateway then localhost can be used.
    interval the number of milliseconds to wait before attempting to retry a workgroup server that is down, a value greater than or equal to 50 ms, normally 1000 ms.
    port is the port number iServer is listening on, normally port 8080.

    AOL Server normally is set to port 8080 which conflicts with iServer default port settings.

    retry the number of workgroup server to try to connect to, normally the number of servers defined.

  4. Add the following line to the nsd.tcl file in the ns_section "ns/server/${servername}/modules" section.

    ns_param aolServerGateway mod_path

    mod_path the path to the iServer AOL Server Gateway,
    normally c:\\iws\\bin\\win32\\aolServerGateway.dll.

    Notes:
    A separate Server parameter must be entered for each workgroup server.

    A separate ns_param method parameter must be entered for each method.

    Example:

    #
    # Servertec iServer AOLServer Gateway
    ns_section "ns/server/${servername}/module/aolServerGateway"
    
    ns_param debug false
    
    ns_param alias "/images"
    ns_param method "GET"
    ns_param method "POST"
    ns_param method "HEAD"
    ns_param server "p6:8080"
    ns_param server "p6:8080"
    ns_param retry 2
    ns_param interval 1000
    
    ns_param alias "/files"
    ns_param method "GET"
    ns_param method "POST"
    ns_param method "HEAD"
    ns_param server "p6:8080"
    ns_param server "p7:8080"
    ns_param retry 2
    ns_param interval 1000
    
    ns_param alias "/cgi-bin"
    ns_param method "GET"
    ns_param method "POST"
    ns_param method "HEAD"
    ns_param server "p5:8080"
    ns_param retry 1
    ns_param interval 1000
    
    ns_param alias "/"
    ns_param method "GET"
    ns_param method "POST"
    ns_param method "HEAD"
    ns_param server "p1:8080"
    ns_param server "p2:8080"
    ns_param server "p3:8080"
    ns_param server "p4:8080"
    ns_param retry 4
    ns_param interval 1000
    
    #
    # Modules to load
    ns_section "ns/server/${servername}/modules"
    ns_param   nssock           ${bindir}/nssock.so
    ns_param   nslog            ${bindir}/nslog.so
    ns_param   nscgi            ${bindir}/nscgi.so
    ns_param   aolServerGateway
        c:\\iws\\bin\\win32\\aolServerGateway.dll
    

  5. Restart the AOL Server Server.
top of page
Use the instructions below to configure the AOL Web Server or other Application/Web Servers running on Linux/Unix supporting AOL Server Modules to use iServer as their Servlet Engine.
  1. Install and configure iServer.

  2. Install and configure AOL Web Server or other Application/Web Server that supports AOL Server Modules.

  3. Add the following section to the nsd.tcl file before the ns_section "ns/server/${servername}/modules" section.

    ns_section "ns/server/${servername}/module/aolServerGateway"
    ns_param debug debug
    ns_param alias alias
    ns_param method "method"
    ns_param server "host_name:port"
    ns_param interval interval
    ns_param retry retry

    alias the URI used to access the iServer AOL Server Gateway, normally /servlet.
    debug whether to make a dump of the request/response to /tmp/aolServerGateway.log [ true | false ], normally false.
    host_name the name of the host computer running iServer. If iServer is running on the same computer as the iServer AOL Server Gateway then localhost can be used.
    interval the number of milliseconds to wait before attempting to retry a workgroup server that is down, a value greater than or equal to 50 ms, normally 1000 ms.
    port is the port number iServer is listening on, normally port 8080.

    AOL Server normally is set to port 8080 which conflicts with iServer default port settings.

    retry the number of workgroup server to try to connect to, normally the number of servers defined.

  4. Add the following line to the nsd.tcl file in the ns_section "ns/server/${servername}/modules" section.

    ns_param aolServerGateway mod_path

    mod_path the path to the iServer AOL Server Gateway,
    normally /iws/bin/linux/aolServerGateway.so.

    Notes:
    A separate Server parameter must be entered for each workgroup server.

    A separate ns_param method parameter must be entered for each method.

    Example:

    #
    # Servertec iServer AOLServer Gateway
    ns_section "ns/server/${servername}/module/aolServerGateway"
    
    ns_param debug false
    
    ns_param alias "/images"
    ns_param method "GET"
    ns_param method "POST"
    ns_param method "HEAD"
    ns_param server "p6:8080"
    ns_param server "p6:8080"
    ns_param retry 2
    ns_param interval 1000
    
    ns_param alias "/files"
    ns_param method "GET"
    ns_param method "POST"
    ns_param method "HEAD"
    ns_param server "p6:8080"
    ns_param server "p7:8080"
    ns_param retry 2
    ns_param interval 1000
    
    ns_param alias "/cgi-bin"
    ns_param method "GET"
    ns_param method "POST"
    ns_param method "HEAD"
    ns_param server "p5:8080"
    ns_param retry 1
    ns_param interval 1000
    
    ns_param alias "/"
    ns_param method "GET"
    ns_param method "POST"
    ns_param method "HEAD"
    ns_param server "p1:8080"
    ns_param server "p2:8080"
    ns_param server "p3:8080"
    ns_param server "p4:8080"
    ns_param retry 4
    ns_param interval 1000
    
    #
    # Modules to load
    ns_section "ns/server/${servername}/modules"
    ns_param   nssock           ${bindir}/nssock.so
    ns_param   nslog            ${bindir}/nslog.so
    ns_param   nscgi            ${bindir}/nscgi.so
    ns_param   aolServerGateway
        /iws/bin/linux/aolServerGateway.so
    

  5. Restart the AOL Server Server.
 top of page
 Built with iScript Copyright © 1997-2000 Servertec. All rights reserved.
Last Modified: Sat Aug 12 11:20:03 EDT 2000