httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "CUTMAN ~CW~" <>
Subject RE: [users@httpd] CGI Data Stream issue
Date Thu, 01 Jan 2004 03:06:42 GMT
take this with a grain of salt, and I'm stabbing in the dark, but....

I found that merely changing the .exe filename extension into a .cgi 
filename extension seemed to make all the difference.  It would seem this is 
a backwards way to deal with it, and who knows the real consequence, but 
myself, I haven't learned enough yet to know any better.  ;)

so your HTML would look like this...

<IMG SRC="/cgi-bin/MyCGI.cgi">

If you can get something into the .conf to represent that an .exe extension 
should be dealt with as a certain application type it might be helpful.  At 
that point maybe you would need to direct it to be a cgi-script... -where's 
that page about mime.types?

AddType application/x-blah-exe .exe
AddHandler cgi-script .exe

I don't know, but I'll be working on an answer too, maybe just that first 

Happy New Year,

>From: "J Hobbs" <>
>Subject: [users@httpd] CGI Data Stream issue
>Date: Wed, 31 Dec 2003 18:32:15 -07>MIME-Version: 1.0
>I've just started using Apache.
>I have a WinCGI (EXE) application that has been running successfully under 
>other Web Servers (Omni & Falcon), but I must move it to a more heavy-duty 
>web server and Apache is my choice.
>The CGI is pretty basic it just returns an image as a data stream.
>Here is the html that receives the stream:
><IMG SRC="/cgi-bin/MyCGI.exe">
>I tested Apache using a simple "Hello World" WinCGI and everything worked 
>fine, so the basic Apache configuration is set-up correctly. Is there some 
>special directives that must be set to receive a stream?
>Here is my operating configuration:
>  Windows 2000
>  Apache 2.0
>  PHP (although I'm testing using basic HTML)
>  WinCGI written in Delphi
>Any help for this Newbie will be greatly appreciated
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:> for more info.
>To unsubscribe, e-mail:
>   "   from the digest:
>For additional commands, e-mail:

Expand your wine savvy  and get some great new recipes  at MSN Wine.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message