Hi,

   Thanks for the help.
 
   if I try with su-ing to user nobody its showing me the CGI.pm version
as 
   $ perl -MCGI -e 'print "CGI.pm version $CGI::VERSION\n";'
   CGI.pm version 2.81
   $ which perl
   /usr/bin/perl 
   its taking the defualt perl which installed by the OS. how to change
this I have compiled and installed the perl 
   in /usr/local/apache/bin if I logged in as root its showing me the 
   # which perl
   /usr/local/apache/bin/perl
   how to run the perl, apache and mod_perl under root only rather than
'nobody'.


Thanks,
Bheema.


-----Original Message-----
From: Perrin Harkins [mailto:[EMAIL PROTECTED]
Sent: Friday, May 28, 2004 11:05 PM
To: Bheema Rao Merugu, BSC, Ambattur, Chennai
Cc: Tom Schindl; mod_perl
Subject: RE: mod_perl not able to run some pl files.


On Fri, 2004-05-28 at 05:07, Bheema Rao Merugu, BSC, Ambattur, Chennai
wrote:
> I am not using the perl that came with the system. I compiled the
source
> code from scratch and using that.

It looks to me like you have a file permissions problem.  Running from
mod_perl you are probably operating as user "nobody" who has different
permissions from your normal user login.  Try su-ing to nobody and
viewing the CGI.pm file to check this.

- Perrin

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to