httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prathima Dandapani -X \(pdandapa - HCL at Cisco\)" <>
Subject RE: [users@httpd] Apache not executing Perl script,but perl script is getting downloaded.
Date Wed, 01 Oct 2008 13:08:34 GMT
Hi Nilesh,
               Thanks for your suggestion.
                Inorder to use Action directive,should i copy the perl
binary to cgi-bin directory?


From: Nilesh Govindrajan [] 
Sent: Wednesday, October 01, 2008 6:20 PM
Subject: Re: [users@httpd] Apache not executing Perl script,but perl script
is getting downloaded.

I'd rather say use mod_actions. Link your perl binary to cgi-bin and specify
Options +FollowSymLinks in cgi-bin directory configuration. Then use this -

AddHandler perl-script .pl

Action perl-script /cgi-bin/perl-bin

This will interpret .pl anywhere found using the perl binary interpreter.
But the directory .pl file exists must have ExecCGI enabled if its not

On Wed, Oct 1, 2008 at 5:49 PM, Francois Gingras
<> wrote:


With ScriptAlias, you don't actually need Option (+)ExecCGI. You
simply need to allow access to that directory.

Also, make sure that the mod_cgi module is loaded, and you should be good to


On Wed, Oct 1, 2008 at 8:01 AM, Prathima Dandapani -X (pdandapa - HCL
at Cisco) <> wrote:
> Hello All,
>             I have Apache 2.2.9 running.Perl script is not getting
> executed,but it is getting downloaded.Here is the configuration done for
> executing perl scripts.
>   ScriptAlias /cgi-bin/ "C:/PROGRA~1/CSCOpx/cgi-bin/"
> <Directory "C:/PROGRA~1/CSCOpx/cgi-bin/">
> AllowOverride None
> Options ExecCGI
> AddHandler cgi-script .pl
> ScriptInterpreterSource Registry-Strict
> </Directory>
> Please help me to resolve the issue.
> Thanks and Regards,
> Prathima.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
  "   from the digest:
For additional commands, e-mail:

Nilesh Govindrajan (

iTech7 Site and Server Administrator

View raw message