Configuring and Testing Apache for Relay Server on SUSE Enterprise

Modify the Apache HTTP Server configuration and environment, as needed for Relay Server on SUSE Enterprise (Linux) host.

Prerequisites
Create a Relay Server configuration file and deploy it on the Relay Server (Apache) host.
Task
  1. Modify the default-server.conf file to configure Apache for Relay Server usage by adding these entries:
    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 /etc/httpd/modules/rs.config 
    </Location> 
    ServerName <your server name>
    The Relay Server is now ready to test.
  2. Start Apache and RelayServer with these commands:
    • Apache/etc/rc.d/apache2 start
    • Relay Server/usr/lib64/apache2/rshost –o /usr/relay.log –f rs.config
  3. By default the Apache Server does not automatically start after a reboot, so you must change the Services for the appropriate Runlevel:
    1. Open YaST Control Center.
    2. Open the System Services (Runlevel).
    3. Select the apache2 service and click the runlevel 3 and 5 check boxes.