Aaron J Mackey wrote:
> Banging my head against the wall a bit, 'cause this is just so simple, but
> still not working:
> 
> Versions: Apache 1.3.22, mod_perl 1.26, perl 5.6.1
> 
> relevant lines from httpd.conf:
> 
>   PerlWarn On
>   PerlModule Apache::PerlVINC
> 
>   <Location /dat-ajm6q>
>     SetHandler          perl-script
>     PerlHandler         DAT::Client::WWW
> 
>     PerlINC             /home/ajm6q/cvs/dat-head/lib
>     PerlFixupHandler    Apache::PerlVINC
>     PerlVersion         DAT/Client/WWW.pm
>   </Location>
> 
> Error log when access is attempted (other standard directories edited out
> for brevity):
> 
> [Fri May 10 13:39:39 2002] [error] Can't locate DAT/Client/WWW.pm in @INC
> (@INC contains: /home/ajm6q/cvs/dat-head/lib [... edited out ...]) at
> /usr/lib/perl5/site_perl/5.6.1/i386-linux/Apache/PerlVINC.pm line 55.
> 
> The file is, of course, actually there:
> 
> % ls -l /home/ajm6q/cvs/dat-head/lib/DAT/Client/WWW.pm
> -rwxrwxr-x    1 ajm6q    webwork       394 May 10 12:40 
>/home/ajm6q/cvs/dat-head/lib/DAT/Client/WWW.pm
> 
> 
> What am I missing?

Does it normally work? (without Apache::PerlVINC)

It's possible that you have wrong permissions on one of the segments of 
/home/ajm6q/cvs/dat-head/lib/DAT/Client/WWW.pm so it cannot read the 
final path.

First test simply with:

die $! unless -r /home/ajm6q/cvs/dat-head/lib/DAT/Client/WWW.pm



__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Reply via email to