Mr. Shawn H. Corey wrote:
# Get the computer to tell you what's happening
...

Rob Dixon wrote:
The only way to fully understand what CGI does is to read its code. Perl modules
...

Thanks both for your responses. It turns out I need to send the full URL 
whereas I was sending a relative URL which caused Apache to do the redirect 
itself rather than sending it out via the browser.

The HTTP status code is not needed as it gets set by default by apache when it 
sees the Location header but can be set explicitly using:

print "Status: 300\n";

Cheers,
Nigel


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to