Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: mod_jk: mounting tomcat instances to subdirectories

Ortwin Glück

2007-01-17

Replies:

Thanks, it's a way to go. But I wanted to use mod_jk because it can do
load-balancing. Also when I explicitly mount some paths in mod_jk all
other paths are inaccessible - which is nice from a security point of
view. Any ideas that involve mod_jk?

I guess the solution will involve virtual hosts. But the server is at a
customer site and has only one DNS name and one IP....

Ortwin

Filip Hanik - Dev Lists wrote:
> mod_proxy will do this in one line
>
> ProxyPass /1/myapp http://tomcat1:8080/myapp
> ProxyPass /2/myapp http://tomcat2:8080/myapp
> ProxyPass /3/myapp http://tomcat3:8080/myapp
>
> makes life easy
> Filip



---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.