Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 83824 invoked from network); 1 Aug 2000 15:25:12 -0000 Received: from unknown (HELO ctex03.ctny.com) (209.109.31.7) by locus.apache.org with SMTP; 1 Aug 2000 15:25:12 -0000 Received: from ctex04.ctny.com (ctex04 [10.1.4.4]) by ctex03.ctny.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id QAA6FPRA; Tue, 1 Aug 2000 11:25:06 -0400 Received: by CTEX04 with Internet Mail Service (5.5.1960.3) id ; Tue, 1 Aug 2000 11:25:15 -0400 Message-ID: <31C23C3A2EDBD311964C0090279A405903AE44@CTEX04> From: "Brueggemann, Eric" To: "'tomcat-user@jakarta.apache.org'" Subject: Rewriting URL's on Win32 Date: Tue, 1 Aug 2000 11:25:14 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.1960.3) Content-Type: text/plain X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi all, I'm using Apache, mod_jserv, mod_rewrite, and Tomcat on a Win2000 box. I have mod_jserv specified before mod_rewrite, as suggested in all the faq's. What I want to accomplish is: ApJServMount /sample/servlet /sample RewriteEngine on RewriteRule ^/index\.html$ /sample/servlet/HelloServlet [PT] Essentially, I'd like to access http://localhost/index.html and end up viewing the output of my HelloServlet. Once /index.html is rewritten to /sample/servlet/HelloServlet, mod_jserv properly kicks in and sends the request to Tomcat. However, when Tomcat gets the request, it ends up supplying its index.html file in its /ROOT context. Notice that this isn't even a context I've mounted... Is Tomcat even seeing my rewritten request? What the heck is it doing? FWIW, an external request to http://localhost/sample/servlet/HelloServlet works fine. I'll admit that I'm unfamiliar with the interaction between mod_jserv and tomcat. How is this request processed? Thanks in advance. Cheers, Eric