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
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 -
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
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
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