Configuring MobiLink clients and servers for the Redirector

Note

The Redirector has been deprecated. In its place, use the Relay Server. See The Relay Server.

This section describes how to configure MobiLink clients and the MobiLink server for synchronization through a web server. The following procedures set the parameters required for requests directed through web servers.

MobiLink clients
To configure MobiLink clients (SQL Anywhere and UltraLite)
  1. Specify the communication type for MobiLink clients to HTTP or HTTPS.

    For more information about setting the communication type for SQL Anywhere clients, see CommunicationType (ctp) extended option.

    For more information about setting the communication type for UltraLite clients, see Network protocol options for UltraLite synchronization streams.

  2. Specify the following HTTP/HTTPS synchronization protocol options for MobiLink clients:

    • host   the name or IP address of the web server.

    • port   the web server port accepting HTTP or HTTPS requests.

    • url_suffix   This setting depends on the type of Redirector you are using:

      • For the ISAPI Redirector:

        exe_dir/iaredirect.dll/ml/[server-group/]

        where exe_dir is the location of iaredirect.dll, and server-group is optionally the name of the group.

      • For NSAPI Redirectors:

        mlredirect/ml/[server-group/]

        where mlredirect is a name mapped in your obj.conf file.

      • For the servlet Redirector:

        iaredirect/ml/
      • For the native Redirector for Apache, set this to whatever you chose in the Redirector's <location> tag in the httpd.conf file. For example, if the location is <Location /iaredirect/ml>, then the url_suffix is:

        iaredirect/ml/
      • For the M-Business Anywhere Redirector, set this to whatever you chose in the Redirector's <location> tag in the sync.conf file. For example, if the location is <Location /iaredirect/ml>, then the url_suffix is:

        iaredirect/ml/

        See url_suffix.

For more information about setting protocol options for UltraLite clients, see Network protocol options for UltraLite synchronization streams.

For more information about setting protocol options for SQL Anywhere clients, see MobiLink client network protocol option summary.

MobiLink server
To configure MobiLink servers
  1. For Redirectors that support HTTPS, you can start the MobiLink server with the HTTPS protocol. For a list of Redirectors that support HTTPS, see [external link] http://www.sybase.com/detail?id=1061837.

    For Redirectors that do not support HTTPS, the MobiLink server must be started with the HTTP protocol to use HTTP or HTTPS for communication between the client and the proxy. Theses Redirectors cannot use HTTPS directly.

    For example, the HTTP protocol may be specified on the mlsrv11 command line as follows:

    mlsrv11 -x http

    See -x option.

  2. In addition, you may want to set the following parameter for the MobiLink server:

    • port   for the HTTP protocol, MobiLink defaults to port 80. For the HTTPS protocol, MobiLink defaults to port 443. If the MobiLink server is running on the same computer as the web server, port 80 is normally in use by the web server. If this is the case you must specify a different port. For example, you could use port 2439, which is the Internet Assigned Numbers Authority (IANA)-registered port number for the MobiLink server.

    For more information about port, see -x option.