httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Pettis <matthew.pet...@gmail.com>
Subject Re: [users@httpd] Apache2 downloads .pl file instead of executes it
Date Mon, 28 Sep 2009 03:18:03 GMT
This worked, thank you!

On Sun, Sep 27, 2009 at 10:07 PM, Igor Cicimov <icicimov@gmail.com> wrote:

> Also put the handler statement in the same directory
>
> AddHandler cgi-script .cgi .pl
>
> so it looks like
>
> <Directory /what_ever_your_cgi_dir_is>
>  Options +ExecCGI
> AddHandler 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@gmail.com> 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,
>> Igor
>>
>>
>> On Sat, Sep 26, 2009 at 12:57 PM, Matthew Pettis <
>> matthew.pettis@gmail.com> 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
>>>
>>
>>
>


-- 
One of the penalties for refusing to participate in politics is that you end
up being governed by your inferiors.
-- Plato

It is from the wellspring of our despair and the places that we are broken
that we come to repair the world.
-- Murray Waas

Mime
View raw message