Ubuntu Forums Archive Viewer

[SOLVED] Telling apache to use tomcat for a certain directory

Archived thread 1030771 from Ubuntu Dev Link Forum. Markdown source: Ubuntu_Dev_Link_Forum/thread_1030771_[SOLVED]_Telling_apache_to_use_tomcat_for_a_certai.md

Original URL About this archive
#1

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.