Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 66441 invoked from network); 15 Aug 2002 10:34:00 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 15 Aug 2002 10:34:00 -0000 Received: (qmail 17733 invoked by uid 97); 15 Aug 2002 10:34:19 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 17677 invoked by uid 97); 15 Aug 2002 10:34:18 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 17664 invoked by uid 98); 15 Aug 2002 10:34:17 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Subject: Re: [COMMENT] mod_jk2 reverse mappings From: Bojan Smojver To: Tomcat Dev List In-Reply-To: <000601c24440$506c5d70$5c00000a@GISDATA.ZG> References: <000601c24440$506c5d70$5c00000a@GISDATA.ZG> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 15 Aug 2002 20:38:27 +1000 Message-Id: <1029407907.1181.1.camel@beast.rexursive.com> Mime-Version: 1.0 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Neat :-) Bojan On Thu, 2002-08-15 at 19:43, Mladen Turk wrote: > Hi, > > Some comments regarding reverse uri mappings. > > This is the simplest way of accomplishing the reverse mapping (I'm not > sure if this is correct terminology). > > There is additional option for the uri map configuration 'reverse' : > > [uri:/examples/*.gif] > info=Extension mapping > reverse=1 > > All the 'normal' mappings are skipped for such a directive, so first we > will map the /examples context. The second call to the mapUri will check > only the 'reverse' flagged uri mappings. If both are mapped then the > DECLINED is returned, meaning that we mapped the context but don't wish > to map the *.gif files in the context. > > The drawback is that we are calling the mapUri twice, first for positive > and then for negative mappings. > > Of course this could be accomplished in the single call using regular > expressions, with all the drawbacks using pcre. > > MT. > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > -- To unsubscribe, e-mail: For additional commands, e-mail: