Tomcat & Apache2

Need help with C, C++, perl, python, etc?

Tomcat & Apache2

Postby broberts » 2005-11-10 20:37

Not sure if this is the correct forum to be posting this (ie. it's not really programming), but I didn't see an exact forum for this kind of config.

I've installed apache2 and tomcat4 with mod_jk2. Currently, when I access any jsp page within any apache2 virtualhost, it forwards to the /var/lib/tomcat4/webapps/ROOT directory. What I was hoping is that I could get Tomcat and Apache to use my current apache virtualhosts and just allow tomcat to serve the JSP pages within each hosts directory (ie have a separate WEB-INF folder for each host) RATHER than have any page redirect to the tomcat dir... How does one host multiple sites with java capabilites?? All I can think of right now is to have multiple directories within the /var/lib/tomcat4/webapps/ROOT dir, and have the virtualhost point to that. This is rather annoying and very unorganized! :x
Posts: 13
Joined: 2005-11-10 20:22

Return to Programming

Who is online

Users browsing this forum: No registered users and 3 guests