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]



Reply via email to