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 20119 invoked from network); 1 Aug 2000 07:44:19 -0000 Received: from kahless.dff.st (HELO mail.dff.local) (62.153.127.50) by locus.apache.org with SMTP; 1 Aug 2000 07:44:19 -0000 Received: from shodan.dff.local ([172.16.1.7] helo=shodan) by mail.dff.local with smtp (Exim 3.03 #1) id 13JWjf-0001Ns-00; Tue, 01 Aug 2000 09:45:11 +0200 From: "Torsten Curdt" To: , Subject: RE: Mapping URL->Servlet Date: Tue, 1 Aug 2000 09:42:15 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3985C0FD.5F2E23E8@acm.org> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > How can I map an arbitrary URL (that may be outside > of any particular "servlet context") to a particular > servlet? > > I'm especially interested in Tomcat as a servlet > container for Apache. I've tried using my old friend > mod_rewrite, but it seems to confuse mod_jserv. > (Which tries to use the original URL, rather than > the rewritten one.) Other posters seem to have > tinkered with / > with little luck. > > Does _anyone_ here know how to do this? Hm.. I guess I don't really understand what you are up to... Is this what you want? You have http:/somehost/mapping but you want http:/somehost/something.html to be rewritten to http:/somehost/mapping/something.html? -- Torsten