Handling visible redirects

2010-05-07 Thread Cédric Bertolini
Hi everyone, I have a problem and I can't figure a solution, so I'm asking here, hoping not to bother. I have a perl script that takes a FILEPATH and should redirect to the FILEPATH on the server. Everything works fine in my setup with the help of a $r->handler(Apache2::Const::DIR_MAGIC_TYPE) in

Re: Handling visible redirects

2010-05-07 Thread Torsten Förtsch
On Friday 07 May 2010 12:44:54 Cédric Bertolini wrote: > So my question is : how can I respond with a 301 or 307 Redirect to the > client? > $r->err_headers_out->{Location}='http://...'; return 301; # or 302 or 303 or 307 Torsten Förtsch -- Need professional modperl support? Hire me! (http://f