Hit send too soon
RewriteRule ^/prn(.*) /http://localhost:3003/controllers/people/$1 [P]
On 10/03/2013 10:13 PM, John Karr wrote:
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: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/