The stock (plus updates, if any) version of Apache should be sufficient. Refer to the Apache documentation for installation instructions and further configuration. Apache must reside on the same machines as the RHN Proxy Broker Server and the RHN Proxy SSL Redirect Server, since they are both layered on top of the Apache Web Server.
![]() |
Tip |
---|---|
The performance of Apache can be significantly enhanced via the following settings in /etc/httpd/conf/httpd.conf: MaxRequestsPerChild, MaxClients, MaxSpareServers, MinSpareServers, StartServers. The default settings should be sufficient in most cases, but depending on the nature of your environment, it is suggested that you refer to the Apache documentation and configure httpd.conf for optimal performance. |
The Apache Web Server must be configured to use the RHN Proxy Broker Server and the RHN Proxy SSL Redirect Server:
The /etc/httpd/conf/rhn_proxy.conf, /etc/httpd/conf/rhn/proxy_broker.conf, and the /etc/httpd/conf/rhn/proxy_redirect.conf files on the server acting as the RHN Proxy Broker Server, RHN Proxy SSL Redirect Server, or both (installed with the appropriate packages) include all the configuration options that those services need. Append the following line to the Apache configuration file /etc/httpd/conf/httpd.conf:
Include conf/rhn_proxy.conf |
The RHN Proxy Broker Server and RHN Proxy SSL Redirect Server log files (/var/log/rhn/rhn_proxy_broker.log and /var/log/rhn/rhn_proxy_redirect.log) assume Apache sets the user and group to apache in /etc/httpd/conf/httpd.conf:
User apache Group apache |
If you configure Apache to run as a different user and group, you must change the user and group ownership of the /var/log/rhn directory and the files inside the directory as well as /etc/sysconfig/rhn/systemid (discussed in Section G.4 RHN Proxy Broker Server).
If you plan to use an SSL connection, you must configure an SSL certificate for your Apache Web Server. Refer to Section F.6 Configure SSL for details.
![]() |
Note |
---|---|
Do not start the Apache Web Server on the RHN Proxy Broker Server and RHN Proxy SSL Redirect Server until you have the rhns-proxy-broker and rhns-proxy-redirect packages installed, respectively. If you start the Apache Web Server without these packages, it will fail because the include files are not found. It is recommended that you not start Apache until after you finish configuring the RHN Proxy Broker Server and RHN Proxy SSL Redirect Server. |