Collection Contents Previous Next PDF

MobiLink Administration Guide

Synchronizing Through a Web Server With the Redirector

NSAPI Redirector for Netscape/Sun web servers


The NSAPI Redirector is provided for the Sun One web server, which was previously the Netscape iPlanet Enterprise Edition web server. Following are setup instructions for Sun One, service pack 1.

This Redirector works only on Windows. To use the Redirector with Netscape/Sun web servers on UNIX, you can use the servlet Redirector. See Servlet Redirector.

To configure the NSAPI Redirector for Sun One

  1. Complete the steps in Configuring Redirector properties (all versions).

  2. If necessary, copy the file iaredirect.dll to the computer that holds the web server. This file is installed with the MobiLink synchronization server, in the MobiLink\redirector\nsapi subdirectory of your SQL Anywhere installation.

  3. Update the Sun One web server configuration file obj.conf as follows.

    Sample file provided 
    A complete sample copy of obj.conf, preconfigured for the MobiLink synchronization server, is provided in MobiLink\redirector\nsapi, and is called obj.conf.example. You can use this sample file to confirm where the following sections fit in to the file.

    Update the following sections of the files magnus.conf and obj.conf.

  4. Set the buffer size for the MobiLink upload streams.

    Add a directive to your web server's magnus.conf file to set the buffer size (in bytes) for the upload and download stream. For example:

    ChunkedRequestBufferSize 2000000

    This directive increases the buffer to 2 Mb. The value must be sufficient to accommodate the size of the uploaded data.

    If you are using any network protocol other than HTTPS, your configuration is complete.

  5. If you are using HTTPS synchronization, configure your server as follows:

Example 

Following is an example of the section of magnus.conf that you need to customize.

Init fn="load-modules" shlib="D:/iaredirect.dll"
funcs="redirector,initialize_redirector"
Init fn=" initialize_redirector " configFile="D:/redirector.config"

Following is an example of the sections of obj.conf that you need to customize.

<Object name=default>
NameTrans fn="assign-name" from="/mlredirect/ml/*" name="redirectToML"
...
<Object name="redirectToML">
Service fn="redirector" serverType="ml"
</Object>

To test your configuration

  1. Call the Redirector using the following syntax:

    http://host:port/mlredirect/ml/
  2. Check the log file to see if the Redirector logged a request.

    Note: This test does not make a connection to the MobiLink synchronization server.


Collection Contents Previous Next PDF