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
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
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
::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
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
#!/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
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
-- 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
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
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
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
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
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
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
[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
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
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
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
[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
.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
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
. 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
22 matches
Mail list logo