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