Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 20225 invoked from network); 3 Jun 2002 20:06:03 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 3 Jun 2002 20:06:03 -0000 Received: (qmail 5284 invoked by uid 97); 3 Jun 2002 20:05:48 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 5268 invoked by uid 97); 3 Jun 2002 20:05:48 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 5256 invoked by uid 98); 3 Jun 2002 20:05:47 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) From: "Divyank Turakhia" To: "'Tomcat Users List'" Subject: WARP Connector and Contexts Date: Tue, 4 Jun 2002 01:35:29 +0530 Message-ID: <000901c20b3a$059fe990$2601a8c0@Divyank> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000A_01C20B68.1F582590" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <001801c20aee$90a4d150$0400a8c0@simonwin2k> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_000A_01C20B68.1F582590 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I am trying to setup tomcat 4.0.3 and Apache 1.3.24 such that I can forward all requests coming to Apache for http://www.virttest2.com to tomcat for all web applications inside the webapps folder I do not want to use multiple WebAppDeploy directives in my Apache httpd.conf. Now the problem is that if i use a "WebAppDeploy . conn /" then the files inside webapps/ROOT are the only ones being served. I also want the webapps/examples to also be served when a person goes to http://www.virttest2.com/examples . In my current setup all requests to http://www.virttest2.com/examples shows an error "Apache Tomcat/4.0.3 - HTTP Status 404 - /examples/jsp/". I want to do this without adding a "WebAppDeploy examples conn /examples" in my httpd.conf . i.e i donot want to add a WebAppDeploy for every Web Application that is auto deployed for that particular host. Is there a way i can do this? I have included the following in my httpd.conf: # Load the module LoadModule webapp_module libexec/mod_webapp.so AddModule mod_webapp.c DocumentRoot /domains/www.virttest2.com/web ServerName www.virttest2.com WebAppConnection conn_www.virttest2.com_http warp localhost:8011 WebAppDeploy . conn_www.virttest2.com_http / My server.xml has the below settings: Warm Regards, Divyank Turakhia ------=_NextPart_000_000A_01C20B68.1F582590--