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
- Re: Chaining and redirection Cliff Rayman
- Re: Chaining and redirection Dirk Lutzebaeck
- Re: Chaining and redirection Cliff Rayman
- Re: Chaining and redirection Dirk Lutzebaeck
- Re: Chaining and redirection Cliff Rayman
- RE: Chaining and redirection Gerald Richter
- RE: Chaining and redirection Dirk Lutzebaeck
- RE: Chaining and redirection Gerald Richter
- RE: Chaining and redirection Dirk Lutzebaeck
- relative redirect (was RE: Chaining and redir... David Harris
- Re: relative redirect (was RE: Chaining a... Dirk Lutzebaeck
- Re: relative redirect (was RE: Chaining a... Doug MacEachern