Hay Rainer,

AFAIK you have to give every Virtual Host an entry in Apache as well.
When I was configuring Apache to use the same application for
www.myhost.com and myhost.realhost.com:8080 I had to do two entries in
Apache.
Well for other Webservers I don't know, and even for Apache or Tomcat I'm
not sure.

Basically it does not matter for you since the domain shouldn't change while
a user is on a web application. Only Problems which can occure are Logfiles
(not quite sure if different virtual hosts can use the same logfile) and
Cookies (they are bound to a domain).

Regards
roman


-----Urspr�ngliche Nachricht-----
Von: Rainer Mager [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 8. Mai 2001 11:36
An: [EMAIL PROTECTED]
Betreff: Virtual hosts


Hi all,

        In server.xml we have multiple virtual hosts configured with <host
name="www.a.com">...</host> tags, one for each host. This works fine if the
site is hit with the exact name listed. If an alternative name is used,
however, like the IP address, then Tomcat doesn't recognize it as the same
virtual host. Aside from making mane <host...> entries, one for each
potential name, how can we support multiple names?

        Thanks much.

--Rainer

Reply via email to