The Redirector has been deprecated. In its place, use the Relay Server. See Synchronizing through a web server with 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.
To configure MobiLink clients (SQL Anywhere and UltraLite)
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.
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:
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.
mlredirect/ml/[server-group/] |
where mlredirect is a name mapped in your obj.conf file.
iaredirect/ml/ |
<Location /iaredirect/ml>
, then the url_suffix is:
iaredirect/ml/ |
<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.
To configure MobiLink servers
For Redirectors that support HTTPS, you can start the MobiLink server with the HTTPS protocol. For a list of Redirectors that support HTTPS, see SQL Anywhere Supported Platforms and Engineering Support Status.
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.
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 machine 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.
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |