Re: mod_jk: mounting tomcat instances to subdirectories

2007-01-18 Thread Peter Rossbach
Hmm, use multiple vhost for your three installations or different webapp names (/myapp1, /myapp2, /myapp3). mod_rewrite rewrite the uri before mod_jk handle the request! Regards Peter Am 17.01.2007 um 17:09 schrieb Ortwin Glück: Hi, I have 3 Tomcat instances, each running a different

Re: mod_jk: mounting tomcat instances to subdirectories

2007-01-18 Thread Ortwin Glück
Just for the record, My chosen solution is this one: Listen 81 Listen 82 Listen 83 NameVirtualHost *:80 NameVirtualHost *:81 NameVirtualHost *:82 NameVirtualHost *:83 VirtualHost *:80 ProxyPass /1/app/ http://localhost:81/app/ ProxyPass /2/app/ http://localhost:82/app/ ProxyPass /3/app/

Re: mod_jk: mounting tomcat instances to subdirectories

2007-01-17 Thread Filip Hanik - Dev Lists
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 Ortwin Glück wrote: Hi, I have 3 Tomcat instances, each running a different version of the same

Re: mod_jk: mounting tomcat instances to subdirectories

2007-01-17 Thread Ortwin Glück
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

Re: mod_jk: mounting tomcat instances to subdirectories

2007-01-17 Thread Hassan Schroeder
On 1/17/07, Ortwin Glück [EMAIL PROTECTED] wrote: But I wanted to use mod_jk because it can do load-balancing. ...as does mod_proxy via mod_proxy_balancer -- see: http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html FWIW! -- Hassan Schroeder [EMAIL PROTECTED]

Re: mod_jk: mounting tomcat instances to subdirectories

2007-01-17 Thread Ortwin Glück
Very nice (if you are running a recent Apache version). I guess I can try to get something running with a blog posting by G. King: http://www.darkcoding.net/software/goodbye-mod_jk-hello-mod_proxy/ Consider the problem solved :-) Cheers Ortwin Hassan Schroeder wrote: On 1/17/07, Ortwin