Bagus,

Each virtual host is a host element in server.xml. The service (e.g.
"Catalina") has connectors to the ports for incoming requests. The engine in
that service sorts out the requests for a particular virtual host based on
the name attribute of the hosts. Any which don't match go to the defaultHost
(e.g. localhost). Each host can have its own appBase as well as logs, root
context, etc.

Fritz

-----Original Message-----
From: Bagus [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 11, 2005 3:53 PM
To: Tomcat Users List
Subject: tomcat and virtual hosts


Here's a more general question about Tomcat.

I'm used to using apache to set up virtual hosts, but when Tomcat installed,
http://localhost/ now goes to my tomcat installation. So how does one set up
multiple virtual hosts with Tomcat? Is it in the server.xml file or
something? Or do I somehow now modify my apache configuration to be able to
use tomcat and the jsp files?

Thanks,

Bagus


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to