PDA

View Full Version : [SOLVED] Telling apache to use tomcat for a certain directory



andrew7
January 5th, 2009, 12:28 AM
Hello,

I am running Ubuntu 8.10. I have installed a lamp server. I just installed Tomcat 6 so I can also run JSP along with PHP. I can run localhost:8080 and it will come up just fine. My question in how do I tell apache to run tomcat with a specific directory? Also I have multiple websites running. Also how do I make it so I can just type in the website such as www.totallyghettogames.com and not have to type in port 8080? I am quite new to this and I have been looking at the forums? I think I need to install mod_jk, but when I do that how do I make the one virtual host use tomcat.

I have looked at this page

http://ubuntuforums.org/showthread.php?t=971517&highlight=tomcat+6+apache+2

Thanks for any help.