Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » MobiLink - Server Administration » Using MobiLink Technology » Synchronizing through a web server with the relay server » Deploying the relay server » Deploying the Relay Server to Apache on Linux


Deploying the relay server web extension files

To deploy the relay server files

  1. Copy the above files into your Apache install modules directory.

  2. Create the relay server configuration file rs.config. See Relay server configuration file.

  3. Copy rs.config into the modules directory. The server module expects the rshost executable to be in the same directory where you copied the rs.config file.

  4. Set the PATH and LD_LIBRARY_PATH environment variables to include the Apache modules directory.

  5. Edit the Apache conf/httpd.conf file.

    1. Add the following lines to load the relay server client and server modules:
      LoadModule iarelayserver_client_module modules/
      LoadModule iarelayserver_server_module modules/

      The client and server modules are invoked using different URLs. The client module explicitly looks for the string iarelayserver in the URL path. That part of the URL need not change.

    2. Add the following line to create a <location> section for the client module:
      <LocationMatch /cli/iarelayserver/* >
          SetHandler iarelayserver-client-handler
    3. Add the following line to create a <location> section for the server module:
      <Location /srv/iarelayserver/* >
          SetHandler iarelayserver-server-handler
          RSConfigFile "/<apache-install>/modules/rs.config"

      You must specify an RSConfigFile directive which specifies the location of the relay servers config file, rs.config. The rs.config file must reside in the same directory where the rshost executable is deployed.