> From: Mark Stosberg
> Sent: Wednesday, 13 December 2006 11:12 a.m.
> 
> I just discovered mod_perl's internal_redirect method.

Snip
 
> The code is also rather simple:
> 
>         if ($ENV{MOD_PERL}) {
>             my $r = Apache->request;
>             $r->internal_redirect($url);
>             use Apache::Constants 'OK';
>             return OK;
>         }
>         else {
>             $self->header_type('redirect');
>             $self->header_props(
>                 -url => $url
>             );
>         }
> 

Perhaps this could be added to CGI::Application::Plugin::Redirect if Cees is
amenable?


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to