url_suffix

Specify the suffix to add to the URL on the first line of each HTTP request sent during synchronization.

Syntax
url_suffix=suffix

The syntax of suffix depends on the type of Redirector you are using:

Redirector Syntax of suffix
ISAPI
exe_dir/iaredirect.dll/ml/[server-group/]

where exe-dir is the location of iaredirect.dll.

NSAPI
mlredirect/ml/[server-group/]

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

Apache whatever you chose in the Redirector's <location> tag in the httpd.conf file.
Servlet
iaredirect/ml/
M-Business Anywhere whatever you chose in the Redirector's <location> tag in the sync.conf file.
Protocols
Support notes
Default

The default is MobiLink.

Remarks

When synchronizing through a proxy or web server, the url_suffix may be necessary to find the MobiLink server.

Only some Redirectors support server groups. For details, see [external link] SQL Anywhere Supported Platforms and Engineering Support Status.

For information about how to set this option when using the Redirector, see Configuring MobiLink clients and servers for the Redirector.

For information about how to set network protocol options with dbmlsync, see CommunicationAddress (adr) extended option.

For information about how to set network protocol options with UltraLite, see Network protocol options for UltraLite synchronization streams.

See also
Example

The following SQL statement creates a synchronization user called sales5322 that synchronizes over HTTPS. Assume that the MobiLink server runs behind the corporate firewall, and synchronization requests are redirected to it using the Redirector (a reverse proxy to an NSAPI web server). The MobiLink user synchronizes to the URL https://www.mycompany.com:80/mlredirect/ml/.

CREATE SYNCHRONIZATION USER sales5322
TYPE https
ADDRESS 'host=www.mycompany.com;port=80;url_suffix=mlredirect/ml/'
Example

The following example sets up HTTP through the ISAPI Redirector for an UltraLite client. Command lines must be entered all on one line.

mlsrv11 -c "dsn=SQL Anywhere 11 CustDB"
  -dl -fr -ot mlserver.mls -zu+ -v+
  -x http(port=8081)

To synchronize with ulsync, run a command such as the following:

ulsync -c "dbf=custdb.udb" 
  -v "MobiLinkUid=50;ScriptVersion=custdb 11.0;
   Stream=http(port=80;url_suffix=Scripts/iaredirect.dll/ml/)"