Mail Archives: djgpp/1999/11/18/11:41:41
On Wed, 17 Nov 1999, The Advisor wrote:
> I've made the infamous hello.exe to test out as a CGI script on my website.
> As I can run any of the other scripts that came packaged with my http
> server, I should be able to serve hello.exe right?
Wrong. DJGPP programs are not Windows programs, and Windows runs them in
their own Virtual Machine. The Web server needs to redirect stdin and
stdout of CGI programs, but redirecting them from a different VM is a bit
tricky (although possible). Many Windows Web servers don't bother to
implement the trickery necessary to do this, so it doesn't work.
Bottom line: you cannot use a DOS compiler to generate a CGI. Complain
to Bill Gates.
- Raw text -