Re: Setting 'Location' header

2001-02-13 Thread Dave Rolsky
On Tue, 13 Feb 2001, Stathy Touloumis wrote: > This code does not seem to work whether in a handler or when using a Mason > component. I have tried several variations with different versions of > mod_perl to no avail. Can anyone shed some light? > > my $head = $r->headers_out; > $head->set( Loc

Setting 'Location' header

2001-02-13 Thread Stathy Touloumis
This code does not seem to work whether in a handler or when using a Mason component. I have tried several variations with different versions of mod_perl to no avail. Can anyone shed some light? my $head = $r->headers_out; $head->set( Location=> '/index.html' ); $head->set( Target=> '_top' ); $