Also put the handler statement in the same directoryAddHandler cgi-script .cgi .pl
so it looks like<Directory /what_ever_your_cgi_dir_is>
Options +ExecCGIAddHandler cgi-script .cgi .pl
</Directory>
or what ever extension you are using for the cgi programs.On Mon, Sep 28, 2009 at 1:04 PM, Igor Cicimov <icicimov@xxxxxxxxx> wrote:
Do you have this statement included in your conf file for the CGI directory?
<Directory /what_ever_your_cgi_dir_is>
Options +ExecCGI
</Directory>
Cheers,
IgorOn Sat, Sep 26, 2009 at 12:57 PM, Matthew Pettis <matthew.pettis@xxxxxxxxx> wrote:
Hi,Newbie here -- my Apache2 install is downloading the .pl script I have instead of executing it as a CGI. How do I make it work as a CGI?As a secondary note -- is there a really good resource to understand how the apache conf files work? I see the apache documentation, but am having trouble getting some documentation on the big picture, answering questions like how to read and understand the conf file, what the general format is, and what is meant when things have 'allow,deny', etc. in them?Thanks,Matt