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>


With this matcher it doesn't matter what path was used to request a GIF,
all will be read from the same directory



Regards,

Daniel

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

Reply via email to