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

[cobalt-users] executing a CGI



Hello,

I'd like to know what are the http.conf directives to make one directory
EXECUTE my binaries instead of downloading them as text files.
I am on a RAQ 2.
I have found this piece on the internet:

..
ScriptAliasMatch .* /usr/local/apache/cgi-bin/myprogram

..
<Directory /usr/local/apache/cgi-bin>
        AllowOverride None
        Options ExecCGI
</Directory>

which I think is the beginning of a solution, but I couldn't work out where
to put it..

--
note I am using a <IMG
SRC="http://www.mydomain.com/myprogram?someArguments";> and I wish it could
run the program.
at the moment it's downloading it, as I can see myprogram file in my
browser's cache.

Hope you can point me to the right direction(s), I've learned by lurking
into this list for a month but I still have so much to learn.

have a nice day.

Support - EuroWebHosting
Eurogate - Unit 2 - 1st floor
TN24 8XW - Ashford - Kent - UK
Tel: 0870 777 0026
Fax: 0870 777 0027
http://www.eurowebhosting.com