I tested it on apache and found that it doesn't work. This method is
successful in running php-cgi. Use mod_perl instead of CGI-perl. It gives
better performance.

On Wed, Oct 1, 2008 at 6:38 PM, Prathima Dandapani -X (pdandapa - HCL at
Cisco) <[EMAIL PROTECTED]> wrote:

>  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:[EMAIL PROTECTED]
> *Sent:* Wednesday, October 01, 2008 6:20 PM
> *To:* users@httpd.apache.org
> *Subject:* Re: [EMAIL PROTECTED] 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 <
> [EMAIL PROTECTED]> 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) <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
>>   "   from the digest: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> Nilesh Govindrajan ([EMAIL PROTECTED])
>
> iTech7 Site and Server Administrator
>
> www.itech7.com
>



-- 
Nilesh Govindrajan ([EMAIL PROTECTED])

iTech7 Site and Server Administrator

www.itech7.com

Reply via email to