Petru NOTINGHER wrote: > I have a little problem with apache when I try to run cgi scripts : I get > the following message : > > [Tue Apr 13 18:53:12 1999] [error] (8)Exec format error: exec of > /usr/lib/cgi-bin/plan.cgi failed > [Tue Apr 13 18:53:13 1999] [error] [client 162.38.204.15] Premature end > of script headers: /usr/lib/cgi-bin/plan.cgi > > Can anybody help me ?
Try running /usr/lib/cgi-bin/plan.cgi yourself, the output should be something like Content-Type: text/html <html> . . </html> Note the blank line between the start if the HTML code and the end of the header. HTH, -Remco