[Catalyst] Branding - or path prefix

Bill Moseley moseley at hank.org
Sun Jul 31 17:24:15 CEST 2005


On Sun, Jul 31, 2005 at 03:28:35PM +0100, Matt S Trout wrote:
> If you're using Apache, I think I'd do this with
> 
> <Location /en>
>   PerlSetVar LANGUAGE en
>   ...
> </Location>
> 
> and pull it out the env. var. in the application code.

That's fine, but how does catalyst deal with an optional path prefix?
The controllers shouldn't have to know about those prefixes.

Catalyst is still a black box to me... Any pointers where to look to
hack something like this in?

-- 
Bill Moseley
moseley at hank.org




More information about the Catalyst mailing list