Hello, I am attempting an external redirect after an internal redirect and it isn't working.
Below are code excerpts: use strict; use DBI; use Apache2::RequestRec(); use APR::Table(); use CGI; $CGI::POST_MAX=1024 * 1024; # max 1M posts $CGI::DISABLE_UPLOADS = 0; # change to 1 to disable uploads use CGI::Cookie(); use Apache2::Const qw( OK FORBIDDEN REDIRECT :log ); use Apache2::Log; # Get request object $r = shift; # Check if coming in from internal redirect if( defined $r->prev ) { $r = $r->prev; } # Do some stuff... # redirect $r->headers_out->set( Location => $redirectURL ); $r->status( REDIRECT ); return REDIRECT; The external redirect works as long as I am not coming from an internal redirect. Any ideas? thanks, greanie __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com