[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
    Search the FAQ Archives

Single Page

Top Document: FAQ: Frequently Asked Questions about CGI Programming
Previous Document: 4.3 Why do I get Error 500 ("the script misbehaved", or "Internal Server Error")
Next Document: 4.5 How can I run my CGI program 'live' in a debugger?


4.4 I tried to use (Content-Type|Location|whatever), but it appears in my Browser?



That means you put the line in the wrong place.  It must appear in the
CGI Header, not the document body.  See previous question.

It's also possible that you didn't print a header at all, or had a blank
line or other noise before or in the header, but that the HTTPD has
corrected this error for you (servers which correct your errors may give
rise to the "works on A not on B" phenomenon).   See previous question.




Top Document: FAQ: Frequently Asked Questions about CGI Programming
Previous Document: 4.3 Why do I get Error 500 ("the script misbehaved", or "Internal Server Error")
Next Document: 4.5 How can I run my CGI program 'live' in a debugger?

Single Page


[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
Nick Kew <nick@webthing.com>

Last Update October 22 2009 @ 05:36 AM

Some parts © 2009 Advameg, Inc.