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 ProxyPass /1/app/ http://localhost:81/app/ ProxyPass /2/app/ http://localhost:82/app/ ProxyPass /3/app/ http://localhost

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 vers

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 Glüc

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: FWIW! -- Hassan Schroeder [EMAIL PROTECTE

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 host

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 a

mod_jk: mounting tomcat instances to subdirectories

2007-01-17 Thread Ortwin Glück
Hi, I have 3 Tomcat instances, each running a different version of the same application. The applications all have the same webapp context. The Tomcats are running on a different machine than the webserver. But all three Tomcat instances are on the same machine (using different AJP ports). I