[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Executables in linux/apache
- To: Fisayo Adeleke <fisayo at steineng.com>
- Subject: Re: Executables in linux/apache
- From: Brian Candler <B.Candler at pobox.com>
- Date: Thu, 3 Oct 2002 17:08:08 +0100
- Cc: afnog at afnog.org
- Content-Disposition: inline
- Content-Type: text/plain; charset=us-ascii
- Delivered-To: afnog-archive at lists.eahd.or.ug
- Delivered-To: afnog-outgoing at afnog.org
- Delivered-To: afnog at afnog.org
- In-Reply-To: <1D2B43CE5EC4D34682C3D153934337110382CF at mail.steineng.com>; from fisayo at steineng.com on Thu, Oct 03, 2002 at 05:07:36PM +0100
- References: <1D2B43CE5EC4D34682C3D153934337110382CF at mail.steineng.com>
- Sender: owner-afnog at afnog.org
- User-Agent: Mutt/1.2.5i
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