activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino" <hi...@hiramchirino.com>
Subject Re: apache execute binary
Date Wed, 09 Jul 2008 18:01:15 GMT
I think you got the wrong mailing list.

On Tue, Jul 8, 2008 at 1:05 AM, nlbs <neel.get@gmail.com> wrote:
>
> What I actually want is I've placed some executables on the `exec` Directory
> and all those binary executables have `.bin` extension
> and now what I want is When ever a HTTP request will be made to
> http://localhost/exec/file.bin the file.bin Programm will be executed and
> Its output will be the HTTP Responce.
> There is nothing special in those Programms they are Just simple printf
> Hello World Programms in C/C++
> I remember that I've done this on XAMPP running on windows 2~3 Years ago bt
> now I forgot what I actually did. I've tried alot of tricks but none of them
> worked. I am running both apache2 and 1.3 on different Ports on Debian etch.
> It will be better if the solutions can be applied through .htaccess
>
> This is what I've done still now in the .htaccess
>
> AddHandler cgi-script bin
> <FilesMatch ".+\.bin">
>        #ForceType application/x-executable
>        Options +ExecCGI
>        ForceType text/html
>        #order allow,deny
>        #allow from all
>        SetHandler cgi-script
> </FilesMatch>
>
> It gives 500 Internal Server Error
> --
> View this message in context: http://www.nabble.com/apache-execute-binary-tp18331958p18331958.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>
>



-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Open Source SOA
http://open.iona.com

Mime
View raw message