Hi,

I have a script that does http requests with LWP. Everything runs fine from
command line. Everyhting runs fine as CGI script under Apache, but when I
let the script run under modperl, suddenly I get this message:

[Fri Nov 30 10:07:37 2001] [error] PerlRun: `Can't locate
LWP/Protocol/MyHTTP.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl
/usr/local/apache/ /usr/local/apache/lib/perl) at
/opt/smsgw/cgi-bin/proxy.cgi line 8.
BEGIN failed--compilation aborted at /opt/smsgw/cgi-bin/proxy.cgi line 8.

What could be the problem ?

I'm new to modperl btw so maybe some urls could do.

Thanx,

Thor Spruyt

Reply via email to