Gustavo, Since the default handler subroutine is called handle the Authen::Simple::NIS package should have such a sub.
But this does not have such a sub. Check the usage of Authen::Simple::NIS. You have to load Authen::Simple::Apache as well. This is the one that provides you the mod perl handler (for both mp1 and mp2) So this should be your startup.pl: #!/usr/bin/env /usr/local/bin/perl use strict; use warnings; Authen::Simple::Apache; use Authen::Simple::NIS; 1; --Attila -----Original Message----- From: Gustavo Schroeder [mailto:[EMAIL PROTECTED] Sent: Montag, 4. Juni 2007 18:49 To: Perrin Harkins; modperl@perl.apache.org Subject: Re: Failed to resolve handler httpd.conf config PerlRequire /usr/local/apache2/conf/startup.pl <Location /test> DAV svn SVNPath /export/svn/ AuthType Basic AuthName "Authentication required" PerlAuthenHandler Authen::Simple::NIS PerlSetVar AuthenSimpleNIS_domain "boss-lab" Require valid-user </Location> startup.pl content #!/usr/bin/env /usr/local/bin/perl use strict; use warnings; use Authen::Simple::NIS; 1; Apache2 restarts gracefully, but it's appending the same error in the log files trying to hit url test [Mon Jun 04 09:39:13 2007] [notice] Apache configured -- resuming normal operations failed to resolve handler Authen::Simple::NIS sorry, I cant find any other kind of error in apache's log files. any clue where I'm missing? On 6/4/07, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On 6/4/07, Gustavo Schroeder <[EMAIL PROTECTED]> wrote: > > [Mon Jun 04 08:17:06 2007] [error] Authen::Simple::NIS version 1 > > required--this is only version 0.3 at > > /usr/local/apache2/conf/startup.pl line 4.\nBEGIN > > failed--compilation aborted at /usr/local/apache2/conf/startup.pl > > line 4.\nCompilation failed in require at (eval 2) line 1.\n > > > > any idea where can I find Authen::Simple::NIS v1? > > Actually, it's just telling you that you left off a semi-colon after > "use Authen::Simple::NIS". Sorry if my earlier instructions were too > vague for you. A good startup.pl for you should look like this: > > use strict; > use warnings; > use Authen::Simple::NIS; > > 1; > > Try that. > > - Perrin >