Re: cgi scripts not getting executed on apache2.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 10/08/2015 7:36 PM, "Rahul R" <rahul.raviz@xxxxxxxxx> 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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux