Dustin Whittle wrote:
> Ian,
> 
> Does this work?
> 
> news_asset:
>   url: /news/asset/:news_id/:filename
>   param: { module: news, action: viewasset }
>   requirements: { news_id: \d, filename: .* }
> 
> 
> What version of symfony? This is possible with the routing system in the
> routing branch. As long as apache is sending the request, it should work.
> Otherwise, wait for 1.1 where Francois built multiformats in to symfony.

Dustin,

I really need this mutli-suffix support in my project immediately - does
this routing branch break BC, and is it inline with 1.0.5?

I don't think it would be too hard to have a suffix param that is
user-definable in the params for a route, that overrides the default,
and have support for wildcard matching.

I'm also a little confused as to why symfony appears to ignore the
_SERVER[REDIRECT_URL]  if it's set - doens't this mean that a lot of
rewriting rules you might want to do in apache wouldn't work with symfony?

Thanks,

-- 
Ian P. Christian ~ http://pookey.co.uk

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to