httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <bulbulty...@now-india.net.in>
Subject [users@httpd] please advice cannot run exe on apache2
Date Sun, 08 Dec 2002 13:18:05 GMT
hi all here is my httpd.conf
and the source code of test.exe
would appreciate any help
still cannot run http://localhost/cgi-bin/test.exe on apache2
even though http://localhost/cgi-bin/printenv runs just fine
Also when I run the following file http://localhost/1.cmd , IE6 tries to
download it while opera, netscape and mozilla show the output
Contents of 1.cmd placed in cgi-bin :
@echo content-type: text/plain
@echo.
@echo.
@echo %path%
@echo.
@echo.
@echo Hello there how are you

----- Original Message -----
From: "J. Greenlees" <jaqui@shaw.ca>
To: <users@httpd.apache.org>
Sent: 06 December, 2002 02:25 PM
Subject: Re: [users@httpd] cannot run exe on apache2


>
>
> bulbultyagi@now-india.net.in wrote:
> ~snip~
>
> > gaurav : how do I do that ? , I have placed the test.exe in cgi-bin
folder ,
> > I used ScriptAlias /cgi-bin/ "C:/Program Files/Apache
> > Group/Apache2/cgi-bin/"
> > <Directory "C:/Program Files/Apache Group/Apache2/cgi-bin">
> >     AllowOverride None
> >     Options None
> >     Order allow,deny
> >     Allow from all
> > </Directory>
> > I even tried AddHandler cgi-script .exe .pl
> have you given apache the data it needs to parse an exe?
> from the apache 2 docs on apache.org:
>
> If you're writing CGI programs in C, there are a variety of options.
> One of these is the CGIC library, from http://www.boutell.com/cgic/
>
> if you have not included a library for apache to understand the file,
> then it won't work.
>
> if you put your httpd.conf up then it makes it easier to see what might
> be causing the problem.


Mime
View raw message