PDA

View Full Version : cgi Error


leversole
08-14-2002, 06:34 PM
wondering if someone wants to take a look at a guestbook cgi that I am trying to use. I must be doing something wrong as I cannot get any cgi to work?!? the latest error is (from the error logs) "premature end of script header" What shoudl I look for? Is notepad putting some illegal character somewhere? Thanks in advance. The url is www.eversolenet.com/guestbook/guestbook.cgi. I have the chmod settings to 777, I uploaded in ascii mode...I dont know what else to do.

Thanks
Leslie

leversole
08-14-2002, 11:16 PM
figured it out! (I think) Notepad does something funny with the newline/carriage return?!? I got a cgi editor, uploaded, and now everything works as it should! Is this common knowlege and I'm just out of the loop?

Leslie :D

eisforian
12-16-2002, 02:22 AM
> "Is this common knowlege and I'm just out of the loop?"

The former. ;)

Don has written a great explanation of this:
http://forums.hostrocket.com/showthread.php?s=&threadid=8089#post48850