mapping virtual hosts using mysql

2005-04-29 Thread Martin Lidgard
Hello all. I am looking for a way to add host aliases to a webapp without having to edit server.xml and restart Tomcat. I'm running Tomcat 4.1 as a standalone on Linux. Is it possible to map virtual hosts using MySQL? Thanks, Martin Arkatay Consulting www.arkatay.com

Re: Virtual Hosts and MySQL

2004-07-31 Thread Evgeny Gesin
Well, I solved. Tomcat loads all* web-apps under appBase when starting virtual hosts. Using different appBase for each virtual host solves the problem. Thanks for not response :)) Evgeny __ Do you Yahoo!? New and Improved Yahoo! Mail -

Re: Virtual Hosts and MySQL

2004-07-31 Thread QM
On Sat, Jul 31, 2004 at 12:45:50PM -0700, Evgeny Gesin wrote: : Tomcat loads all* web-apps under appBase when : starting virtual hosts. Using different appBase for : each virtual host solves the problem. Just for the archives, Tomcat loads *all* webapps when loadOnStartup is true for the Host

Re: Virtual Hosts and MySQL

2004-07-31 Thread Evgeny Gesin
Do you meant deployOnStartup (loadOnStartup)? It is not available in 4.1.xx (my case). I found easer to manage multiple contexts in separate directories of virtual hosts, than limit use of deployment parameters. Thanks for reply! :) Evgeny On Sat, Jul 31, 2004 at 12:45:50PM -0700, Evgeny

Virtual Hosts and MySQL

2004-07-30 Thread Evgeny Gesin
I want to test a virtual host on my local machine (lo IP), before I add new host to real web server (eth0 IP). So, I added 127.0.0.2 to local machine and now 'ifconfig' returns two IP addresses loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 lo:0 Link