tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: Integration with Apache
Date Thu, 06 Sep 2007 21:48:06 GMT
Hash: SHA1


Edd Dawson wrote:
> I have a server setup as follows:
> Apache [httpd] -> mod_jk2 -> tomcat

Stop right there. Delete mod_jk2. Forget it ever existed (everyone else
has). Install mod_jk. Okay, now go:

> There are a number of webapps served by tomcat:
> /ROOT -> available on
> /webapp2 ->available on
> /webapp3 -> available on
> Now this all works fine, but now I need to add a php forum site onto the
> server on the same domain name and have it served on
> Trouble is that I cannot for the life of me figure out how to configure this
> without moving my /ROOT webapp off the URL and
> into a subdirectory.

Why? Just don't map /forum/*.php to mod_jk. What do your JkMount
directives look like?

> Can anyone confirm whether what I want to do is at all possible, and if so
> give any pointers as to where i need to be looking to configure it?

I have all kinds of things happening with Apache httpd -> mod_jk ->
Tomcat. You can map anything you want. Static content served by Apache
httpd while dynamic stuff comes from TC? Of course. Multiple TC
instances within the same URL space? Done. Some TC, some PHP, some CGI?
Why not? It's all easy.

- -chris
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla -


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message