httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Barwick <jbarw...@basicsllp.com>
Subject Re: Perl CGI
Date Fri, 28 Jun 2002 11:14:41 GMT
Speaking of perl and CGI...question....

I want to setuid root on my perl CGI scripts.  
I get a "Can't do setuid" error in the log.  
This appears to be Perl saying I can't do it....so...do I REALLY have to 
recompile?  Or, is there an option I can set?

Thanks!

J.

Octavian Rasnita wrote:

>The error is telling you that it can't find the CGI.pm module where it
>should be.
>If Perl is well installed, it should have CGI.pm module installed.
>Try to find the file CGI.pm and if you don't have the file in your Perl
>directory, install it from CPAN.
>
>Teddy Center: http://teddy.fcc.ro/
>Mail: orasnita@home.ro
>
>----- Original Message -----
>From: "Robert Davis" <sac61689@skymail.csus.edu>
>To: "Apache Users" <users@httpd.apache.org>
>Sent: Thursday, June 27, 2002 12:52 AM
>Subject: Perl CGI
>
>
>I cannot get PERL cgi scripts to work with apache. I know that PERL
>is setup correctly. I keep getting errors such as...
>
>Can't locate CGI.pm in @INC (@INC contains:
>/opt/perl5/lib/5.6.1/PA-RISC2.0 /opt
>/perl5/lib/5.6.1 /opt/perl5/lib/site_perl/5.6.1/PA-RISC2.0
>/opt/perl5/lib/site_perl/5.6.1 /opt/perl5/lib/site_perl
>
>I checked and this file (CGI.pm) exists in that location (it is
>owned by root though)...any ideas??
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>  
>




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message