RE: Failed to resolve handler

2007-06-04 Thread Peter, Attila
To: Perrin Harkins; modperl@perl.apache.org Subject: Re: Failed to resolve handler httpd.conf config PerlRequire /usr/local/apache2/conf/startup.pl DAV svn SVNPath /export/svn/ AuthType Basic AuthName "Authentication required" PerlAuthenHandler Authen::Simple::NIS

Re: Failed to resolve handler

2007-06-04 Thread Gustavo Schroeder
httpd.conf config PerlRequire /usr/local/apache2/conf/startup.pl DAV svn SVNPath /export/svn/ AuthType Basic AuthName "Authentication required" PerlAuthenHandler Authen::Simple::NIS PerlSetVar AuthenSimpleNIS_domain "boss-lab" Require valid-user startup.pl content #!/usr/bin/env /usr/l

Re: Failed to resolve handler

2007-06-04 Thread Perrin Harkins
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 f

Re: Failed to resolve handler

2007-06-04 Thread Jonathan Vanasco
On Jun 4, 2007, at 11:08 AM, Gustavo Schroeder wrote: startup.pl content: #!/usr/bin/env /usr/local/bin/perl use Authen::Simple::NIS Error presented: [Mon Jun 04 07:56:38 2007] [error] /usr/local/apache2/conf/startup.pl did not return a true value at (eval 2) line 1.\n [Mon Jun 04 07:56:38 20

Re: Failed to resolve handler

2007-06-04 Thread Gustavo Schroeder
Added PerlRequire /usr/local/apache2/conf/startup.pl to httpd.conf startup.pl content: #!/usr/bin/env /usr/local/bin/perl use Authen::Simple::NIS Error presented: [Mon Jun 04 07:56:38 2007] [error] /usr/local/apache2/conf/startup.pl did not return a true value at (eval 2) line 1.\n [Mon Jun 04 0

Re: Failed to resolve handler

2007-06-04 Thread Perrin Harkins
On 6/4/07, Gustavo Schroeder <[EMAIL PROTECTED]> wrote: PerlModule Authen::Simple::NIS In general, it's better to load your modules from a separate file. Try making a startup.pl that looks like this: use Authen::Simple::NIS and then load it from httpd.conf like this: PerlRequire startup.pl