httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matus UHLAR - fantomas <>
Subject Re: [users@httpd] executing files on server
Date Tue, 27 May 2008 09:53:32 GMT
> > On Mon, May 19, 2008 at 10:25 AM, syed mehdi <> wrote:
> >> or say if i want to execute some exe like *.exe instead of *.abc on
> >> server side, then where should i place that on server and what changes
> >> should i make.

if you want .exe to be executed on server side, you need to have cgi module
loaded, ExecCGI allowed (at least for the directory) and configured apache
to interpret .exe as file to be executed

AddHandler cgi-script .exe

(at least for apache 1.3)

> On 5/19/08, Joshua Slive <> wrote:
> > The second part of your question is way too vague. There are lots of
> > different ways to "execute" programs on the server side. For example,
> > you can research CGI programs.

On 19.05.08 23:01, syed mehdi wrote:
> yeah that's correct, I have been able to execute python/shell scripts
> on server side. But whenever I am trying to access a file which should
> get opened with some client software, like flash or PDF then there is
> a problem. I mean it opens the swf/abc as binary.

flash and PDF are NOT executedon server side. They are provided by server
and it's up to the client what does it do with them. You only need to
configure proper mime types for them. most of systems know that, and if not,
you can

AddType application/pdf .pdf
AddType application/x-shockwave-flash .swf 
Matus UHLAR - fantomas, ;
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Chernobyl was an Windows 95 beta test site.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message