Hi Otmar, Try changing the order, first the "file/*" followed by the "**/file/*" It doesn't answer your question but it will solve your problem.
Jelle -----Oorspronkelijk bericht----- Van: Otmar Vobejda [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 19 december 2003 2:50 Aan: [EMAIL PROTECTED] Onderwerp: Re: sitemap circular reference I have it, it can be done just by pattern "**file/*". But why doesn't work previous example? It looks like correctly in my opinion. osup Otmar Vobejda wrote: > Hi, > > I'd like to make in the sitemap feature, that if you will call url > "file/123" or "blabla/file/123" or "bla/bla/bla/file/123", it will use > databasereader everytime. I think, it could be done by this code, but > that doesn't work (browser calls too much redirections). Why? > > <map:match pattern="**/file/*"> > <map:redirect-to uri="file/{2}"/> > </map:match> > > <map:match pattern="file/*"> > <map:read type="databasereader" src="{1}" > mime-type="plain/text"> > ... > </map:read> > </map:match> > > Thanx a lot! > > osup > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
