[Catalyst] stripping path parts and then redispatch?

Lars Balker Rasmussen lars at balker.dk
Sun Feb 22 22:49:25 GMT 2009


On Sun, Feb 22, 2009 at 11:28 PM, Larry Leszczynski
<larryl at emailplus.org> wrote:
> I have an existing site, and want to add the page language to the URLs
> so that caching will work correctly, e.g. "/foo/bar" would now look like
> "/en/foo/bar" or "/fr/foo/bar".  (The language is user-selected, not
> from browser prefs, so setting the "Vary: Accept-Language" response
> header won't help.)

Apart from the missing true return value from auto, this works:

http://lists.scsys.co.uk/pipermail/catalyst/2009-February/021072.html
-- 
Lars Balker Rasmussen                                        Consult::Perl



More information about the Catalyst mailing list