[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Executables in linux/apache



in the access_log it shows

xx.yy.zz.aa - - [03/Oct/2002:17:14:24 +0100] "GET /cgi-bin/mind/admin HTTP/1.1" 304 -

-fiao

-----Original Message-----
From: Brian Candler [mailto:B.Candler at pobox.com]
Sent: Thursday, October 03, 2002 5:08 PM
To: Fisayo Adeleke
Cc: afnog at afnog.org
Subject: Re: Executables in linux/apache


On Thu, Oct 03, 2002 at 05:07:36PM +0100, Fisayo Adeleke wrote:
> 
> 
> -----Original Message-----
> From: Brian Candler [mailto:B.Candler at pobox.com]
> Sent: Thursday, October 03, 2002 4:02 PM
> To: Fisayo Adeleke
> Cc: afnog at afnog.org
> Subject: Re: Executables in linux/apache
> 
> 
> On Thu, Oct 03, 2002 at 01:53:33PM +0100, Fisayo Adeleke wrote:
> > I need to be able to open a particular executable file via my browser, but
> > when i try to open it by entering
> > http://www.mycompany.com/cgi-bin/theexecfile , it tries to download
> > 'theexecfile.TXT' rather than opening up the page. I tried setting the
> > stuff up under windows using IIS5.o and it did the same thing but when i
> > set up IIS to run 'scripts and execuables' for the virtual directory, then
> > it now opened the page. I wonder if there's a solution like this under
> > Linux/Apache also cus i intend to run the program on Apache and not IIS.
> 
> It's straightforward in Apache:
> 
> <Directory /path/to/cgi-bin>
> Options ExecCGI
> </Directory>
> 
> I'VE GOT THIS ALREADY BUT IT'S STILL THE SAME THING!!

So what else have you tried? What do you have in log files? After issuing
one of these requests, do

tail /var/log/apache/access_log    (or whatever it is)
tail /var/log/apache/errors_log    (or wherever it is)




> 
> -FIAO
> 
> Of course the file has to be a Unix executable, not a windows .EXE
> 
> B.
> 

-----
This is the afnog mailing list, managed by Majordomo 1.94.5

To send a message to this list, e-mail afnog at afnog.org
To send a request to majordomo, e-mail majordomo at afnog.org and put
your request in the body of the message (i.e use "help" for help)

This list is maintained by owner-afnog at afnog.org