in reply to redirection based on cookie

I would use a PerlHandler that examine the cookie and then do this or that. Since I use mod_perl.
Boris