I have a problem with using both Apache 2.2.3 and Tomcat 5.5.23 using mod_jk.
Basically when I type http://www.mywebsite.com
I want it to go to http://ipaddress:8088/shop
where shop is my webapp and it's in the shop dir under /usr/lib/apache-tomcat-5.5.23/webapps.
I tested that tomcat is working and http://ipaddress:8088/shop
brings up the shop web app.
Here's what I've done:
-Downloaded and put mod_jk.so into /usr/lib/httpd/modules
-Created mod_jk.conf in /etc/httpd/conf.d with the following lines:
-Created workers.properties in /etc/httpd/conf with the following lines:
-Add virtual host in /etc/httpd/conf/httpd.conf as such:
192.168.0.2 is the internal ip for the website.
But I only see the Apache default after I restart both Apache and Tomcat and then type http://www.mywebsite.com
So what did I do wrong or miss?