Re: Problem with Apache2::AuthCookie and Apache 2.4: "failed to resolve handler"

2014-06-25 Thread André Warnier
Brian Candler wrote: OK I have it. The Debian-supplied version of Apache2::AuthCookie *does* have the patches from the httpd24 branch of authcookie, and the documentation for how to use it is in /usr/share/doc/libapache2-authcookie-perl/README.apache-2.4 Very useful information, thanks for sh

Re: Problem with Apache2::AuthCookie and Apache 2.4: "failed to resolve handler"

2014-06-25 Thread Brian Candler
OK I have it. The Debian-supplied version of Apache2::AuthCookie *does* have the patches from the httpd24 branch of authcookie, and the documentation for how to use it is in /usr/share/doc/libapache2-authcookie-perl/README.apache-2.4 My testsite can be made to work like this: --- testsite.con

Re: Problem with Apache2::AuthCookie and Apache 2.4: "failed to resolve handler"

2014-06-25 Thread Brian Candler
On 25/06/2014 13:41, Brian Candler wrote: I notice that there is a newer version of Apache2::AuthCookie (3.22) available, so I installed that from CPAN. But this changes the error to: [Wed Jun 25 13:35:26.054231 2014] [perl:error] [pid 17668] [client 10.0.2.2:50801] Can't locate object method

Problem with Apache2::AuthCookie and Apache 2.4: "failed to resolve handler"

2014-06-25 Thread Brian Candler
::AuthCookie 3.20) The second setup gives the following in the error log: failed to resolve handler Example::AuthHandler when trying to access a page under /testsite/protected/ *after* you have successfully logged in. If you go to /testsite/logout.html to clear the cookie, and then to /testsite

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
#!/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 resol

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

Fwd: Failed to resolve handler

2007-06-04 Thread Gustavo Schroeder
-- Forwarded message -- From: Gustavo Schroeder <[EMAIL PROTECTED]> Date: Jun 4, 2007 12:22 PM Subject: Re: Failed to resolve handler To: Jonathan Vanasco <[EMAIL PROTECTED]> [Mon Jun 04 08:17:06 2007] [error] Authen::Simple::NIS version 1 required--this is only ve

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

Failed to resolve handler

2007-06-04 Thread Gustavo Schroeder
hName "Authentication required" PerlAuthenHandler Authen::Simple::NIS PerlSetVar AuthenSimpleNIS_domain "NIS-lab" Require valid-user -- apachectl -t returns OK once apache is restarted and I try to access the url /test I get: "failed to resolve han

Re: Error:- failed to resolve handler `Apache::PerlRun'

2005-10-18 Thread vivek
Dear Mr. Philip M. Gollucci Thanks a lot, I could get the script running. But now I face a different problem. I want mod perl to be enabled for only one virtual host but not all the virtual hosts in httpd. When I say, loadmodules for mod_perl, modperl is activated for all the virtual host

Re: Error:- failed to resolve handler `Apache::PerlRun'

2005-10-18 Thread Philip M. Gollucci
Perrin Harkins wrote: On Tue, 2005-10-18 at 20:50 +0530, [EMAIL PROTECTED] wrote: I used PerlResponseHandler Modperl::PerlRun D'oh... Good eye Perrin! -- END What doesn't kill us can only m

Re: Error:- failed to resolve handler `Apache::PerlRun'

2005-10-18 Thread Philip M. Gollucci
[EMAIL PROTECTED] wrote: Thanks for the response Mr. Philip M. Gollucci. I used PerlResponseHandler Modperl::PerlRun But it still wouldnot work . It gives the same kind of error again as under:- [Tue Oct 18 20:40:25 2005] [error] [client 127.0.0.1] failed to resolve handler `Modperl

Re: Error:- failed to resolve handler `Apache::PerlRun'

2005-10-18 Thread Perrin Harkins
On Tue, 2005-10-18 at 20:50 +0530, [EMAIL PROTECTED] wrote: > I used > PerlResponseHandler Modperl::PerlRun It's case-sensitive: PerlResponseHandler ModPerl::PerlRun - Perrin

Re: Error:- failed to resolve handler `Apache::PerlRun'

2005-10-18 Thread vivek
Thanks for the response Mr. Philip M. Gollucci. I used PerlResponseHandler Modperl::PerlRun But it still wouldnot work . It gives the same kind of error again as under:- [Tue Oct 18 20:40:25 2005] [error] [client 127.0.0.1] failed to resolve handler `Modperl::PerlRun': Can't loca

Re: Error:- failed to resolve handler `Apache::PerlRun'

2005-10-18 Thread Perrin Harkins
On Tue, 2005-10-18 at 11:32 +0530, [EMAIL PROTECTED] wrote: > I am encountering a strange problem with my mod perl 2. [...] >PerlHandler Apache::PerlRun There is no module called Apache::PerlRun in mod_perl 2. It is now called ModPerl::PerlRun. You will need

Re: Error:- failed to resolve handler `Apache::PerlRun'

2005-10-18 Thread Philip M. Gollucci
[EMAIL PROTECTED] wrote: Dear Friends, I am encountering a strange problem with my mod perl 2. I have installed mod perl 2 on apache and its using perl-5.8.6. I am using a server with two AMD 64 bit processors and 4 GB RAM. Initially I was using perl 5.8.6 in /usr/local/bin/perl configured wit

Re: Error:- failed to resolve handler `Apache::PerlRun'

2005-10-18 Thread vivek
.0.1 ) > >> PerlHandler Apache::PerlRun >> >> and it gives me the following error as soon as I start the server:- >> >> [Mon Oct 17 12:20:54 2005] [error] [client 203.199.110.93] failed to resolve handler >>`Apache::PerlRun': Can't locat

Re: Error:- failed to resolve handler `Apache::PerlRun'

2005-10-17 Thread Fred Moyer
2005] [error] [client 203.199.110.93] failed to resolve handler `Apache::PerlRun': Can't locate Apache/PerlRun.pm in @INC The PerlRun.pm is located in /opt/perl4modperl/lib/site_perl/5.8.6/x86_64-linux-stdio/ModPerl which is included above as shown. It is included using a sc

Error:- failed to resolve handler `Apache::PerlRun'

2005-10-17 Thread vivek
. Because I wanted to use the same old cgi-perl script, I used PerlHandler Apache::PerlRun and it gives me the following error as soon as I start the server:- [Mon Oct 17 12:20:54 2005] [error] [client 203.199.110.93] failed to resolve handler `Apache::PerlRun