> 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]