I'd try a regexp in my begin action.
But I'd first look at something more properly restful
http://www.pausetosee.com/prn/n7ivdbdq8808p
You can also do pre-dispatching with rewrite rules on your webserver.
in apache
Rewrite Engine On
RewriteRule ^/prn(.*)
/http://localhost:3003/controllers/people/n7ivdbdq8808p [P]
On 10/03/2013 09:41 PM, bill hauck wrote:
I've been struggling with the best way to accomplish a somewhat simple
task: direct to a specific controller/action based on a code in the uri.
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/