Cliff Rayman writes:
 > if you are going to redirect in embperl then you need to put an exit after
 > $r->status(REDIRECT).
 > just setting that variable does not cause embperl to exit.  so,
 > 
 > [-
 >   use Apache;
 >   use Apache::Constants qw(REDIRECT);
 > 
 >   $r = Apache->request;
 > 
 >   $r->header_out("Location" => "x.html");
 >   $r->status(REDIRECT);
 >   exit;
 > -]
 > 2
 > 
 > should do the trick.

I'm sorry Cliff, it doesn't work for me. I tried Apache::exit() and
exit(). Does it work for you? Maybe I'm doing something wrong.

Dirk

Reply via email to