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@xxxxxxxxxx]
Sent: Wednesday, October 01, 2008 6:20 PMSubject: Re: 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@xxxxxxxxx> 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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
" from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--
Nilesh Govindrajan (nilesh@xxxxxxxxxx)
iTech7 Site and Server Administrator
www.itech7.com