Re: tomcat and virtual hosts

2005-05-12 Thread Lutz Zetzsche
Hi Bogus, Am Donnerstag, 12. Mai 2005 00:52 schrieb Bagus: 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

Re: tomcat and virtual hosts

2005-05-12 Thread Pete Stevens
On Wed, 11 May 2005, Bagus wrote: 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

RE: tomcat and virtual hosts

2005-05-11 Thread Fritz Schneider
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

Re: tomcat and virtual hosts

2003-10-01 Thread John Turner
Host name=www.site1.com appBase=/export/home/webroot/site1 Context path= docBase=/export/home/webroot/site1/ROOT /Context /Host Better yet, make the Context docBase = ROOT so it is relative to the Host's appBase. Put JSP in /export/home/webroot/site1/ROOT. Put WEB-INF in