httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Cicimov <icici...@gmail.com>
Subject Re: [users@httpd] cgi scripts not getting executed on apache2.4
Date Mon, 10 Aug 2015 10:07:04 GMT
On 10/08/2015 7:36 PM, "Rahul R" <rahul.raviz@gmail.com> wrote:
>
> Hello All,
>
> I have apache 2.4 installed. I face a problem with cgi scripts execution.
I have the following in my httpd.conf. But for some reason cgi scripts
which are in perl are not getting executed. And instead the contents
getting displayed on browser. With 2.2 i have the same entries, works like
a charm there.
>
> ScriptAlias /cgi-bin/ "/apps/cgi-bin/"
>
> <Directory "/apps/cgi-bin">
> AllowOverride None
>
>
> Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
>
>
> Order allow,deny
>
>
> Allow from all
> </Directory>
>

1. Make sure you have libapache2-mod-perl2 installed

2. Make sure you have cgi module enabled

3. Make sure you have the handler set
AddHandler cgi-script .cgi .pl

Mime
View raw message