Connect to SAP Mobile Server through a Reverse Proxy using Relay Server or the Apache Web server.
//Register: Application.GetInstance().ConnectionProperties.UrlSuffix = "/ias_relay_server/client/rs_client.dll/$messaging-farmId$" // (e.g. /ias_relay_server/client/rs_client.dll/mega-vm008.msg) //Synchronize: TestDB.GetSynchronizationProfile().StreamParams.Url_Suffix = "/ias_relay_server/client/rs_client.dll/$replication-farmId$" // (e.g. /ias_relay_server/client/rs_client.dll/mega-vm008.rep)
Add to the httpd.conf file: Listen 80 <VirtualHost *:80>ServerName proxy-server <Location /app1/> ProxyPass http://sup-server:5001/ ProxyPassReverse http://sup-server:5001/ </Location> <Location /app2/> ProxyPass http://sup-server:2480/ ProxyPassReverse http://sup-server:2480/ </Location> </VirtualHost> //Register: Application.GetInstance().ConnectionProperties.UrlSuffix = "/app1"; //Synchronize: TestDB.GetSynchronizationProfile().StreamParams.Url_Suffix = "/app2"