Re: Handling visible redirects

Torsten Förtsch <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
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://foertsch.name)

Like fantasy? http://kabatinte.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.