in reply to Redirecting
That should produce a 302 status code, and a location header:use CGI qw/:standard/; print redirect("http://www.msn.com");
Try telnetting to port 80 of your box and issuing the GET request manually. That's will get you a definitive answer to what's going on. If you're not sure how that works, check out this script which will generate the proper requests for you (and there are some good responses below that, too).Status: 302 Moved location: http://www.msn.com/
You could also try printing an extra -- header("text/plain") -- before the redirect header. That will cause the redirect header to show up in the browser. However, if you are afraid that your server is messing with your headers or doing something else weird, then this would not be definitive.
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
|
|---|