The output I get is "Status: 302 Found Location: http://localhost/rbsaws/ " instead of the webpage I hoped for. I get the same result when running it from the command line. I've tried different variations on the above code found elsewhere with no improvement. I'd appreciate any suggestions you might provide.#!c:\perl\bin\perl.exe use strict; #use CGI::Carp qw(fatalsToBrowser); use CGI; use warnings; my $query= new CGI; #print "HTTP/1.0 200 OK\n"; print "Content-Type: text/html\n\n\n"; print $query->redirect('http://localhost/rbsaws/');
In reply to url redirection by zoodog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |