Having Apache webserver always redirect to Tomcat App Server
Posted on 2008-11-04
Experts & all,
I have an Apache Webserver that currently uses mod_jk to commnunicate to the Tomcat Appserver and that works flawlessly.
What I am trying to figure out is how NOT to show the Tomcat webpage but always have the webserver redirect or rewrite so that the default is ALWAYS my application running on the Appserver.
Right now if my users enter the public IP address (for example 22.214.171.124) and only the IP address, the Tomcat default webpage shows up. How can I have the public IP address always point to 126.96.36.199/MyApp, where MyApp is my applications that runs in the appserver.