Summary: Here we have specified one of several approaches for configuring a reverse proxy for the CAST dashboards to hide the application server or to take advantage of some specific Apache configuration. This method assumes that you have installed Apache HTTP Server (available at http://httpd.apache.org/download). We recommend using version 2.4 (minimum) - 2.2 is NOT recommended.
The steps required to establish the reverse proxy are as follows. First, edit the httpd.conf file available in the Apache installation location e.g.:
Load the two modules listed below by uncommenting the following two lines in the httpd.conf file:
At the end of the httpd.conf file add the reverse proxy configuration as follows - adapt the following examples to your own environment. The ProxyPass option allows you to indicate the application server URLs you want to make available to Apache, and the ProxyPassReverse option ensures that redirects are handled correctly:
Save the httpd.conf file and then restart Apache. Now when you enter the http://apache_server/dashboard the request will be redirected to
You can add multiple entries for ProxyPass depending on the number of sites/URLs/instances you have deployed on different machines or same machine.