Daniel

Thanks,  I think I need to add the following to make it fit exactly:

   <map:match pattern="**/resources/custom/**/*.gif">
      <map:read src="resource/actual-dir/{2}/{3}.gif"
mimetype="image/gif"/>
   </map:match>

Derek

>>> [EMAIL PROTECTED] 2004/09/08 02:14:22 PM >>>
> Hi Derek,
> 
> > Please help with a simple match that I cannot get
> > to work...
> > 
> > in HTML I will have:
> > 
> > src="/dir1/dir2/dir3/resources/custom/images/icon.gif"
> > or
> > src="dir2/dir3/resources/custom/images/icon.gif"
> > or
> > src="dir3/resources/custom/images/icon.gif"
> 
> 
> just use this
> 
>    <map:match pattern="**/*.gif">
>       <map:read src="resource/actual-dir/{2}.gif"
mimetype="image/gif"/>
>    </map:match>
> 

Sorry Derek, I just realized what you want to do. (Next time I will
think twice...)
If you want to select the set of images by the appearance of
"custom"images" anywhere in the URL, this might be the right matcher:

   <map:match pattern="**/resources/custom/**/*.gif">
      <map:read src="resource/actual-dir/{3}.gif"
mimetype="image/gif"/>
   </map:match>


Regards,

Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to