cgi redirect
am 10.11.2004 14:18:09 von GeorgeI am reading the CGI.pm. I have an Apache for testting. and trying to
redirect my browser with the script to another page
#!c:/Perl/bin/Perl.exe
use CGI ();
my $cgi=new CGI;
print $cgi->redirect(-uri=>'http://twh:153/cgi-bin/other.pl'
, -nph=>1 );
But instead of going to an opening the new page it prints to the same page
the following
HTTP/1.1 302 Moved Server: Apache/2.0.52 (Win32) Status: 302 Moved Date:
Wed, 10 Nov 2004 13:14:01 GMT Location: http://twh:153/cgi-bin/other.pl
What I am doing wrong ?
Thanks.