Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » MobiLink - Server Administration » Synchronizing Through a Web Server with the Redirector

Apache Redirector Next Page

M-Business Anywhere Redirector


The following setup instructions are written for M-Business Anywhere on Windows, Solaris, or Linux.

For information about version support, see Redirector in [external link] SQL Anywhere 10.0.1 Components by Platform.

To configure the M-Business Anywhere Redirector
  1. Complete the steps in Configuring Redirector properties (for Redirectors that don't support server groups).

  2. Copy the file mod_iaredirect.dll or mod_iaredirect.so to the M-Business Anywhere \bin directory on the computer that holds the web server. This file is located in the MobiLink\redirector\MBusinessAnywhere subdirectory of your SQL Anywhere installation.

  3. If your web server is on a separate computer from the Redirector, you must copy the following files to that computer and ensure that they are in your path (Windows) or shared path (Unix). What files you need depends on what, if any, encryption you are using. The following file locations are relative to your SQL Anywhere installation:

    SetupFiles required
    ECC encryption
    • Windows: win32\mlcecc10.dll
    • Unix: lib32/libmlcecc10_r.so
    RSA encryption
    • Windows: win32\mlcrsa10.dll
    • Unix: lib32/libmlcrsa10_r.so
    RSA encryption with FIPS
    • Windows: win32\mlcrsafips10.dll and win32\sbgse2.dll
    • Unix: lib32/libmlcrsafips10_r.so and libsbgse2_r.so
  4. For Windows, update the M-Business Anywhere web server configuration file sync.conf as follows:

  5. For Solaris and Linux, update the M-Business Anywhere web server configuration file sync.conf as follows:

  6. To help with debugging, you may want to increase the amount of logging information that the Redirector outputs. To do this, modify the LogLevel directive in sync.conf and set it to LogLevel info. The log level can be (from most to least verbose): debug, info, notice, warn, error, crit, alert, and emerg.

  7. Restart your M-Business Sync Server for the changes to take effect.

Example

Following are examples of the sections of sync.conf that configure the M-Business Anywhere web server to route requests to the MobiLink server.

This example works on Windows:

LoadModule iaredirect_module "c:\program files\M-Business Anywhere/bin/mod_iaredirect.dll"
...
SyncLoadFile "c:\program files\M-Business Anywhere/bin/mod_iaredirect.dll"
...
<Location \iaredirect\ml>
    SetHandler iaredirect-handler
    iaredirectorConfigFile "c:\AvantGoServer\conf/redirector.config"
</Location>

The following example works on UNIX and Linux:

LoadModule iaredirect_module modules/mod_iaredirect.so
...
<Location /iaredirect/ml>
    SetHandler iaredirect-handler
    iaredirectorConfigFile "/redirector.config"
</Location>
To test your configuration
  1. Call the Redirector using the following syntax:

    http://host:port/iaredirect/ml/

    where iaredirect is the path you specified in the <Location> tag of sync.conf.

  2. Check the log files sync_access.log and sync_error.log to verify that the Redirector logged a request.

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