To deploy the relay server files
Copy the above files into your Apache install modules directory.
Create the relay server configuration file rs.config. See Relay server configuration file.
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.
Set the PATH and LD_LIBRARY_PATH environment variables to include the Apache modules directory.
Edit the Apache conf/httpd.conf file.
LoadModule iarelayserver_client_module modules/mod_rs_ap_client.so |
LoadModule iarelayserver_server_module modules/mod_rs_ap_server.so |
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.
<LocationMatch /cli/iarelayserver/* > SetHandler iarelayserver-client-handler </LocationMatch> |
<Location /srv/iarelayserver/* > SetHandler iarelayserver-server-handler RSConfigFile "/<apache-install>/modules/rs.config" </Location> |
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.
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |