I am trying to map a java web application named "Cricket_rank_inspector" to the domain www.CRRI.com/cri
I plan to add the following 2 records to the httpd.conf (under section of VHOST for CRRI.com)
ProxyPass /cri ajp://105.5.131.200:8009/Cricket_Rank_Inspector ProxyPassReverse /wri ajp://105.5.131.200:8009/Cricket_Rank_Inspector
Am I correct in assuming that the above will enable http://www.CRRI.com/cri -> Java Web app.
What will be the exact URL of the web app as per my example? Also, do I need to configure something in Tomcat for assigning this specific domain (CRRI.com) to my web app? Because currently I am using IP address and Port also, when invoking this web application.
Any help and guidance would be appreciated.
Thanks, Arvind.
use "ProxyPreserveHost" if you define Virtual Host on your tomcat server.xml,
if you are not define virtual host, your 2 lines config above should be enough