On 10/08/2015 7:36 PM, "Rahul R" <[email protected]> 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

Reply via email to