in reply to CGI: Premature end of script headers

this is the apache log output "Premature end of script headers."
jtrue
  • Comment on Re: CGI: Premature end of script headers

Replies are listed 'Best First'.
Re^2: CGI: Premature end of script headers
by AJRod (Scribe) on Jan 20, 2005 at 01:49 UTC
    Really know nothing about Solaris but try adding "-w" to the first line, as in:
    #!/usr/bin/perl -w
    It sometimes helps when I shift between windows and linux OSs.