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

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>

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