Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 40025 invoked by uid 500); 1 Aug 2001 22:45:54 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 40017 invoked from network); 1 Aug 2001 22:45:54 -0000 Received: from fourthgen.com (HELO fourthgen.fourthgen.com) (206.147.211.61) by h31.sny.collab.net with SMTP; 1 Aug 2001 22:45:54 -0000 Received: from Avior.fourthgen.com (rschmid-6.static.iaxs.net [209.134.140.46]) by fourthgen.fourthgen.com (8.11.1/8.11.1) with ESMTP id f71Mju887332 for ; Wed, 1 Aug 2001 17:45:57 -0500 (CDT) Message-Id: <5.1.0.14.2.20010801174749.00aef6d0@mail.fourthgen.com> X-Sender: robert@mail.fourthgen.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 01 Aug 2001 17:47:56 -0500 To: tomcat-user@jakarta.apache.org From: Robert Schmid Subject: Virtual Host Confusion Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I swear I've read the documentation! I have Virtual Hosts Contexts defined; Server.xml httpd.conf: ServerName www.foobar.net JkMount /*.jsp ajp13 JkMount /*.xml ajp13 JkMount /servlet/* ajp13 AddType text/xml .xml DocumentRoot /home/net/foobar/htdocs ... Options All AllowOverride Authconfig I want to be able to put xml files and jsp in the main directory or at least in a directory entirely controlled by foobar. Is the docBase relative to $TOMCAT_HOME or is it an absolute path? What is appBase? Does this work in Tomcat 3.x or only in 4.x? Do I need to run separate instances of Tomcat for each virtual host? Do I have to have a webapps directory in each Virtual Host. How about a WEB-INF and a web.xml directory in each directory? The documentation seems out of date especially the links regarding web.xml. Help is greatly appreciated!