httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <bulbulty...@now-india.net.in>
Subject Re: [users@httpd] please advice cannot run exe on apache2
Date Sun, 08 Dec 2002 17:56:56 GMT
wont the scriptalias take care of that ?
----- Original Message -----
From: "ncool007" <ncool007@optonline.net>
To: <users@httpd.apache.org>
Sent: 08 December, 2002 11:23 PM
Subject: Re: [users@httpd] please advice cannot run exe on apache2


> shouldn't you add Options ExecCGI to the cgi directory?
>
> At 06:48 PM 12/8/2002 +0530, you wrote:
> >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.
> >
> >
> >
> >---------------------------------------------------------------------
> >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
>
>
>
> ---------------------------------------------------------------------
> 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
>
>


---------------------------------------------------------------------
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