Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Invalid header error

Status
Not open for further replies.

confuse

Programmer
Joined
Dec 3, 2000
Messages
9
Location
MY
the CGI program /export/home1/netscape/suitespot/cgi-bin/counter.pl did not produce a valid header (program terminated without a valid CGI header. Check for core dump or other abnormal termination)

I don't know what to do???
 
The header problem is often caused by wrong script output. A correct header would be something like: &quot;Content-type:text/plain\n\n&quot; or if your counter is based on images &quot;Content-type: image/<whatever>\n\n&quot;.
The newlines are mandatory.
If you can not fix the problem that way, call your cgi-script and do a `tail -f ` on your htttpd.error_log.

Good luck! regards
chenn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top