httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prathima Dandapani -X \(pdandapa - HCL at Cisco\)" <pdand...@cisco.com>
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?
Thanks,
Prathima

  _____  

From: Nilesh Govindrajan [mailto:lists@itech7.com] 
Sent: Wednesday, October 01, 2008 6:20 PM
To: users@httpd.apache.org
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
cgi-bin.


On Wed, Oct 1, 2008 at 5:49 PM, Francois Gingras
<francois.gingras@gmail.com> wrote:


Hello,

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
go.

Frank


On Wed, Oct 1, 2008 at 8:01 AM, Prathima Dandapani -X (pdandapa - HCL
at Cisco) <pdandapa@cisco.com> 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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
  "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org






-- 
Nilesh Govindrajan (nilesh@itech7.com)

iTech7 Site and Server Administrator

www.itech7.com


Mime
View raw message