Modify the Apache HTTP Server configuration and environment, as needed for Relay Server.
LoadModule iarelayserver_client_module modules/mod_rs_ap_client.so LoadModule iarelayserver_server_module modules/mod_rs_ap_server.so
<LocationMatch /cli/iarelayserver/* > SetHandler iarelayserver-client-handler </LocationMatch>
<Location /srv/iarelayserver/* > SetHandler iarelayserver-server-handler RSConfigFile "/apache-install/modules/rs.config" </Location>
The server module Location must match the server URL suffix specified in the Relay Server configuration file.
The RSConfigFile directive specifies the location of the Relay Server configuration file, which must reside in the same directory with the State Manager executable (rshost).
ServerLimit 1000 MaxClient 1000
By default, Relay Server on Apache is configured for 100 concurrent device users. If you need more than that, set the ServerLimit and MaxClient directives to an appropriate value.
path="$path:/apache-install/modules" export $path LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/apache-install/modules" export $LD_LIBRARY_PATH
If none of those variables is set globally, or if you want to save the default Relay Server log file in another specific directory, set and export the TMP variable to point to the log file location.
Restart the Apache HTTP Server after you make the configuration changes.