On my linux system, I've disabled a number of loaded modules, in particular mod_auth, but not mod_access. The recent protocol/pseudo_http test fails on this setup (in fact, the tests don't start, as there's an unknown directive AuthUserFile used), as I think because it's set up to run if mod_access is available, but it instead needs mod_auth. This patch:
Yup, you are mostly correct, Randy, but as mentioned in the other email, both are needed.
======================================================== Index: t/protocol/pseudo_http.t =================================================================== RCS file: /home/cvs/modperl-2.0/t/protocol/pseudo_http.t,v retrieving revision 1.1 diff -u -r1.1 pseudo_http.t --- t/protocol/pseudo_http.t 5 Jul 2004 01:36:47 -0000 1.1 +++ t/protocol/pseudo_http.t 5 Jul 2004 16:59:12 -0000 @@ -18,7 +18,7 @@ my $passgood = "foobar"; my $passbad = "foObaR";
-plan tests => 13, have_access; +plan tests => 13, have_auth;
{ # supply correct credential when prompted for such and ask the Index: t/protocol/TestProtocol/pseudo_http.pm =================================================================== RCS file: /home/cvs/modperl-2.0/t/protocol/TestProtocol/pseudo_http.pm,v retrieving revision 1.1 diff -u -r1.1 pseudo_http.pm --- t/protocol/TestProtocol/pseudo_http.pm 5 Jul 2004 01:36:47 -0000 1.1 +++ t/protocol/TestProtocol/pseudo_http.pm 5 Jul 2004 16:59:13 -0000 @@ -136,7 +136,7 @@ PerlProcessConnectionHandler TestProtocol::pseudo_http
<Location TestProtocol::pseudo_http> - <IfModule mod_access.c> + <IfModule mod_auth.c> Order Deny,Allow Allow from @servername@ Require user stas
================================================================ skips it for me.
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
