For Debian/Ubuntu
(1) Append the below lines to /etc/apache2/apache2.conf
Run the below commands as root
Note: Please copy & paste into a note pad and check/remove the space near "_". This inconvenience is due to markup.
echo "LoadModule proxy_ module /usr/lib/apache2/modules/mod_proxy.so" >> /etc/apache2/apache2.conf
echo "LoadModule proxy_ http_ module /usr/lib/apache2/modules/mod_ proxy_http.so" >> /etc/apache2/apache2.conf
--------------------------------------------------------------------------------------------------------
(2) ## Create kaldin.conf in /etc/apache2/conf.d/
echo -n > /etc/apache2/conf.d/kaldin.conf
I am extremely sorry as I am new to wiki markups and I can't post the example config file here.
so please follow this wiki "Setting up a reverse proxy to a Tomcat server" or prepare the kaldin.conf for yourself as shown below, you could use "vim /etc/apache2/conf.d/kaldin.conf"
Look at the highlighted forward slash, this is required for reverse proxy
--------------------------------------------------------------------------------------------------------
(3) All set, restart the apache2
service apache2 restart
point the web browser to http://Server_IP/kaldin/