Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 33535 invoked by uid 500); 3 May 2001 02:43:18 -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 33527 invoked from network); 3 May 2001 02:43:17 -0000 Received: from unknown (HELO www.finaltouch.com) (@209.46.117.2) by h31.sny.collab.net with SMTP; 3 May 2001 02:43:17 -0000 Received: from sara (sara.finaltouch.com [192.168.1.30]) by www.finaltouch.com (8.11.0/8.11.0) with SMTP id f432ga805423 for ; Wed, 2 May 2001 21:42:36 -0500 Message-ID: <013801c0d37a$eec78d60$1e01a8c0@finaltouch.com> From: "Robert J. Lebowitz" To: References: Subject: Tomcat, IIS and virtual hosts Date: Wed, 2 May 2001 21:44:10 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I recently installed Tomcat 3.2.1 on an NT 4.0 server running IIS according to Gil Shachor's directions, using JavaService to install it as an NT Service. Everything worked exactly as it supposed to; my JSPs are working fine. However, on a separate NT 4.0 server, following the same directions, I've been unable to get the server to redirect correctly. I know that Tomcat is running because I can call up my JSPs and the Tomcat examples using: http://localhost:8080/examples/jsp/index.html However, what I really want is to be able to use the URL http://localhost/examples/jsp/index.html I realized that primary difference between the two servers is that one runs virtual hosts. I suspect that the configuration for Tomcat on IIS must be different when you have virtual hosts. I've looked for examples in the documentation, but haven't found any; most examples seem to be geared for Apache. I discovered the directive for server.xml, but my efforts at getting it to work failed. Can someone send me an example of how to configure Tomcat to work with virtual hosts? Rob