Servertec AOL Server Gateway
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
How To
Change Log
Future Plans
Knowledge Base
Documentation
Examples
Legal
Contact Us

 

Select the platform to install the AOL Server Gateway under:
Windows 9x/Me/NT/2000/2003/XP
Linux/Solaris/Unix


Use the instructions below to configure the AOL Web Server or other Application/Web Servers running on Windows 9x/Me/NT/2000/2003/XP supporting AOL Server Modules to use Servertec Internet Server as their Servlet Engine.
  1. Install and configure Servertec Internet Server.

  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 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 Servertec Internet Server. localhost can be used if both servers are running on the same computer.
    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 Servertec Internet Server is listening on, normally port 8080.

    AOL Server normally is set to port 8080 which conflicts with Servertec Internet Server 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 AOL Server Gateway,
    normally c:\\iws.net\\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 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.net\\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/Solaris/Unix supporting AOL Server Modules to use Servertec Internet Server as their Servlet Engine.
  1. Install and configure Servertec Internet Server.

  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 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 Servertec Internet Server. localhost can be used if both servers are running on the same computer.
    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 Servertec Internet Server is listening on, normally port 8080.

    AOL Server normally is set to port 8080 which conflicts with Servertec Internet Server 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 AOL Server Gateway,
    normally /iws.net/bin/platform/aolServerGateway.so.
    platform the platform, linux, solaris/x86 or solaris/sparc.

    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 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.net/bin/linux/aolServerGateway.so
    

  5. Restart the AOL Server Server.
 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Sun Sep 04 14:57:18 EDT 2005