geektron has asked for the wisdom of the Perl Monks concerning the following question:

this one is confusing the hell outta me. i finally broke down and wrote a  modperl_startup.pl to get away from all the annoying PERL5LIB sections in various host.conf files floating around on this server.

i'm trying to get a subclass of Apache::AuthCookie to work.

the more i look at this, the more confused i am. the error:

Can't locate authenticate.pm in @INC (@INC contains: /home/httpd/proim +ageteam.com/libs .... ) Can't locate object method "authenticate" via package "RemoteAuthentic +ation" (perhaps you forgot to load "RemoteAuthentication"?).
which i would understand, except for the fact that the module in question *is* in @INC.
locate RemoteAuthentication.pm /home/httpd/proimageteam.com/libs/RemoteAuthentication.pm
the directory is the first one listed in @INC. my httpd.conf for this VirtualHost looks OK too ...
Alias /apps /home/httpd/proimageteam.com/modperl_apps <Directory /home/httpd/proimageteam.com/modperl_apps> <Files login.pl> SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI allow from all PerlSendHeader On </Files> </Directory> ## These documents require user to be logged in. <Directory /home/httpd/proimageteam.com/html/testMemberArea> AuthType RemoteAuthentication AuthName ProImage PerlAuthenHandler RemoteAuthentication->authenticate PerlAuthzHandler RemoteAuthentication->authorize require valid-user </Directory> ##this is the action of the login.pl script above. <Location /apps/LOGIN> AuthType RemoteAuthentication AuthName ProImage SetHandler perl-script PerlHandler RemoteAuthentication->login </Location>
so where is this "authenticate.pm" coming from, when it's just a method name?

Edit: i almost feel like i should delete this one, since i solved my own problem.

in my .... confusion, i forgot to  use RemoteAuthentication in the modperl_startup.pl. i didn't remember that i commented out one of the included files.