httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "CUTMAN ~CW~" <cutma...@hotmail.com>
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 
line..

Happy New Year,
Scott


>From: "J Hobbs" <jghsurfpro@hotmail.com>
>Reply-To: users@httpd.apache.org
>To: users@httpd.apache.org
>Subject: [users@httpd] CGI Data Stream issue
>Date: Wed, 31 Dec 2003 18:32:15 -07>MIME-Version: 1.0
>
>Hi,
>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:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>

_________________________________________________________________
Expand your wine savvy  and get some great new recipes  at MSN Wine. 
http://wine.msn.com


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message