CGI ERROR Premature end of script headers?
Your file maybe in DOS mode, try pico the file, ctrl o, then ctrl x