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:
which i would understand, except for the fact that the module in question *is* in @INC.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"?).
the directory is the first one listed in @INC. my httpd.conf for this VirtualHost looks OK too ...locate RemoteAuthentication.pm /home/httpd/proimageteam.com/libs/RemoteAuthentication.pm
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>
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.
In reply to mod_perl can't locate module in @INC by geektron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |