How do I work on configuring ZF2 route to work with file path as a
parameter:
/a/2.1/route/component/optional/resource/id.jpg

/a/2.1/route - is static. It's always there in the URL for every module
ever called.

/component/ - is required. It is our component for REST calls. The
component is to map directly to a controller.

/optional/resource/id.jpg - is an optional file path, that may or may not
be there.

my attempts aren't working:
I've created a route segment, using the AlbumRest examples. route =>
'/a[/:version]/route/album-rest[/:fullpath]'

However, it only works with one trailing path after "album-rest." As soon
as I use "/option/resource" it fails.

---
Philip
[email protected]
http://www.gpcentre.net/

Reply via email to