httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: CGI and Virtual Hosts ...still :(
Date Thu, 02 May 2002 17:57:40 GMT
On Thu, 2 May 2002, Subscribed wrote:

> AHA! I've narrowed it down to .exe files.
> Perl files work fine, but .exe gives an Internal server error and
> THIS in the errorlog file! Not in the mywebsite.log file! :X
>
> [Thu May 02 12:52:50 2002] [error] [client 24.27.130.80] malformed header
> from script. Bad header=<!DOCTYPE HTML PUBLIC "-//IETF:
> h:/myweb/cgi-bin/cgitest.exe

cgitest.exe is not a cgi script.  A cgi script must emit, at minimum, a
Content-Type HTTP header plus a blank line before it sends any html.

See http://httpd.apache.org/docs/howto/cgi.html#writingacgiprogram

Joshua.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message