Specify the suffix to add to the URL on the first line of each HTTP request sent during synchronization.
url_suffix=suffix
The syntax of suffix depends on the type of Redirector you are using:
Redirector | Syntax of suffix | ||
---|---|---|---|
ISAPI |
where exe-dir is the location of iaredirect.dll. |
||
NSAPI |
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 |
|
||
M-Business Anywhere | whatever you chose in the Redirector's <location> tag in the sync.conf file. |
The default is MobiLink.
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 http://www.sybase.com/detail?id=1061837.
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.
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/' |
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/)" |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |