Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 70440 invoked from network); 1 Oct 2008 13:09:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Oct 2008 13:09:23 -0000 Received: (qmail 40108 invoked by uid 500); 1 Oct 2008 13:09:11 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 40093 invoked by uid 500); 1 Oct 2008 13:09:11 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 40082 invoked by uid 99); 1 Oct 2008 13:09:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 06:09:11 -0700 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pdandapa@cisco.com designates 64.104.129.195 as permitted sender) Received: from [64.104.129.195] (HELO ind-iport-1.cisco.com) (64.104.129.195) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 13:08:06 +0000 X-IronPort-AV: E=Sophos;i="4.33,343,1220227200"; d="scan'208,217";a="29790684" Received: from hkg-dkim-1.cisco.com ([10.75.231.161]) by ind-iport-1.cisco.com with ESMTP; 01 Oct 2008 13:08:38 +0000 Received: from hkg-core-1.cisco.com (hkg-core-1.cisco.com [64.104.123.94]) by hkg-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id m91D8bvV023769 for ; Wed, 1 Oct 2008 21:08:37 +0800 Received: from pdandapawxp ([10.77.203.180]) by hkg-core-1.cisco.com (8.13.8/8.13.8) with ESMTP id m91D8aWC009690 for ; Wed, 1 Oct 2008 13:08:36 GMT Reply-To: From: "Prathima Dandapani -X \(pdandapa - HCL at Cisco\)" To: References: <04b301c923bd$6d6841b0$b4cb4d0a@cisco.com> <5d771ebb0810010519kee623e8jc04421cb06a27f9f@mail.gmail.com> Date: Wed, 1 Oct 2008 18:38:34 +0530 Message-ID: <04da01c923c6$cfa93740$b4cb4d0a@cisco.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_04DB_01C923F4.E9617340" X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 Thread-Index: AckjxGRLdXtrkn5ZT2WQkFsNedXMGQAAi/EA In-Reply-To: DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=7462; t=1222866517; x=1223730517; c=relaxed/simple; s=hkgdkim1002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=pdandapa@cisco.com; z=From:=20=22Prathima=20Dandapani=20-X=20\(pdandapa=20-=20HC L=20at=20Cisco\)=22=20 |Subject:=20RE=3A=20[users@httpd]=20Apache=20not=20executin g=20Perl=20script,but=20perl=20script=20is=20getting=20downl oaded. |Sender:=20; bh=vt2Qc/57OrXEUQbtuHsm1tg/fWZKeBTrC19m/A62pC8=; b=LcahZaJeYB2VCtxbSHpmRrzGCj9FqEkcJzBwjE+wxmazQzu0ATH/YV10ec pzg3jxdy/EOOVqr4pVxSV1YtpPEFPxFEzyWvuTkrLrbTNb/J43pjztrbEfY9 Yac4eUImSousV0UXtz2Y3FUU4d3oSQH4uaQIPCOWBmKcarOxDtopM=; Authentication-Results: hkg-dkim-1; header.From=pdandapa@cisco.com; dkim=pass ( sig from cisco.com/hkgdkim1002 verified; ); X-Virus-Checked: Checked by ClamAV on apache.org Subject: RE: [users@httpd] Apache not executing Perl script,but perl script is getting downloaded. ------=_NextPart_000_04DB_01C923F4.E9617340 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 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) 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/" > > AllowOverride None > Options ExecCGI > AddHandler cgi-script .pl > ScriptInterpreterSource Registry-Strict > > > 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 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 ------=_NextPart_000_04DB_01C923F4.E9617340 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hi Nilesh,
 
          &nbs= p;   =20 Thanks for your suggestion.
          &nbs= p;     Inorder=20 to use Action directive,should i copy the perl binary to cgi-bin=20 directory?
Thanks,
Prathima


From: Nilesh Govindrajan=20 [mailto:lists@itech7.com]
Sent: Wednesday, October 01, 2008 = 6:20=20 PM
To: users@httpd.apache.org
Subject: Re: = [users@httpd]=20 Apache not executing Perl script,but perl script is getting=20 downloaded.

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

AddHandler perl-script .pl

Action perl-script=20 /cgi-bin/perl-bin

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

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

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

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

Frank

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

--------------------------------------------= -------------------------
The=20 official User-To-User support forum of the Apache HTTP Server = Project.
See=20 <URL:http://httpd.apache.org/userslist.html> for = more=20 info.
To unsubscribe, e-mail: users-unsubscribe@http= d.apache.org
 =20 "   from the digest: users-digest-un= subscribe@httpd.apache.org
For=20 additional commands, e-mail: users-help@httpd.apache.org



--
Nilesh Govindrajan (nilesh@itech7.com)

iTech7 = Site and=20 Server Administrator

www.itech7.com
= ------=_NextPart_000_04DB_01C923F4.E9617340--