Re: PerlTransHandler Redirect (2.0)

2009-03-25 Thread David Stewart
Thanks Adam, I was pretty sure about returning the constant, but I didn't see where the location should go. Looks like err_headers_out works, thanks. -David Stewart On Mar 25, 2009, at 12:36 PM, Adam Prime wrote: David Stewart wrote: How do you replicate the redirect functionality of mo

Re: PerlTransHandler Redirect (2.0)

2009-03-25 Thread Adam Prime
David Stewart wrote: How do you replicate the redirect functionality of mod_rewrite in a mod_perl 2 PerlTransHandler? I'm writing a PerlTransHandler to overcome some limitation of mod_rewrite and want to redirect requests to canonical URLs in some cases (e.g. replicate the functionality of th