[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: apache cgi problem
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: apache cgi problem
- From: shaun <shaun_(_at_)_sourcery_(_dot_)_ca>
- Date: Tue, 21 Jan 2003 21:45:02 -0500 (EST)
> i installed apache 1.3.6 from source. every program/script i run in
> /cgi-bin/ raises the "interneal server error" error. the err_logfile
> [Tue Jan 21 22:18:48 2003] [error] [client 192.168.0.2] Premature
> end of script headers: /cgi-bin/test
> what could that be? i tried perl script and compiled things. scripts
> that worked with 1.3.4 now crash.
You might want to try looking for help on the apache mailing list. The
problem is most likely that you're script is not printing a valid http
header before it spits out the rest of it's output. Remember your
combined http headers must be followed by 2 newlines.