Are you sure your cgi program is executable by the user the server is
running as?

Regards,
Ben


> Abdul-wahid Paterson wrote:
> > Hi,
> > 
> > Shouldn't it be
> > 
> >     AddHandler cgi-script .cgi
> > 
> 
> Well, thank you for trying. I replaced the line:
> 
>    AddType application/x-httpd-cgi .cgi
> 
> for the one you told me, now the binary file isn't
> displayed in the browser, but it prompts me to download
> it. So it isn't executed in the server.
> 
> I also tried to have both lines with the same results.
> 
> 
> > 
> > On Thu, 2003-03-13 at 10:53, Francesc Guasch wrote:
> > 
> >>I have a mod_perl server and I need to add a cgi 
> application outside 
> >>mod_perl, nagios.
> >>
> >>I followed the guide and when I try to use the cgis, the 
> binary files 
> >>are downloaded instead of executed.
> 
> 
> -- 
> frankie
> 
> 

Reply via email to