in reply to failing to generate proper http redirect headers
Location, like all other HTTP headers, must have the first letter capitalized. The reason it isn't is that you asked CGI to add a header called 'location' with that url as the content. Here are the examples from the CGI documentation:location: http://redirected_url
Note that uri is the correct named parameter, or the URI may be passed as the sole parameter.print $query->redirect('http://somewhere.else/in/movie/land'); print $query->redirect(-uri=>'http://somewhere.else/in/movie/land', -nph=>1);
|
---|
Replies are listed 'Best First'. | |
---|---|
•Re: Re: failing to generate proper http redirect headers
by merlyn (Sage) on Aug 30, 2003 at 12:32 UTC | |
by isotope (Deacon) on Sep 03, 2003 at 21:26 UTC | |
by AidanLee (Chaplain) on Sep 04, 2003 at 19:59 UTC |