Return-Path: Delivered-To: apmail-perl-dev-archive@www.apache.org Received: (qmail 47910 invoked from network); 7 Jan 2005 15:30:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 7 Jan 2005 15:30:55 -0000 Received: (qmail 21554 invoked by uid 500); 7 Jan 2005 15:30:54 -0000 Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 21525 invoked by uid 500); 7 Jan 2005 15:30:53 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 21503 invoked by uid 99); 7 Jan 2005 15:30:53 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from cn-sfo1-pix-natout.cnet.com (HELO Helios.local) (216.239.124.38) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 07 Jan 2005 07:30:53 -0800 Received: from [127.0.0.1] (localhost [127.0.0.1]) by Helios.local (Postfix) with ESMTP id 782E9208BBC for ; Fri, 7 Jan 2005 07:30:51 -0800 (PST) Message-ID: <41DEAB2A.3070201@holsman.net> Date: Fri, 07 Jan 2005 07:30:50 -0800 From: Ian Holsman User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041227) X-Accept-Language: en-us, en MIME-Version: 1.0 To: mod_perl Dev Subject: Re: t/api/access2 failing ? References: <41DDF56B.3000309@holsman.net> <41DE9FB6.8020603@stason.org> In-Reply-To: <41DE9FB6.8020603@stason.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Stas Bekman wrote: > Ian Holsman wrote: > >> 1. Problem Description: >> >> test failing. >> >> t/api/access2....1..6 >> # Running under perl version 5.008006 for darwin >> # Current time local: Thu Jan 6 18:32:40 2005 >> # Current time GMT: Fri Jan 7 02:32:40 2005 >> # Using Test.pm version 1.25 >> # Using Apache/Test.pm version 1.20 >> ok 1 >> # testing : no credentials passed >> # expected: 401 >> # received: 403 >> not ok 2 >> # Failed test 2 in t/api/access2.t at line 15 >> ok 3 >> ok 4 >> not ok 5 >> # Failed test 5 in t/api/access2.t at line 24 >> not ok 6 >> # Failed test 6 in t/api/access2.t at line 27 >> FAILED tests 2, 5-6 >> Failed 3/6 tests, 50.00% okay >> Failed Test Stat Wstat Total Fail Failed List of Failed >> ------------------------------------------------------------------------------- >> >> t/api/access2.t 6 3 50.00% 2 5-6 >> Failed 1/1 test scripts, 0.00% okay. 3/6 subtests failed, 50.00% okay. >> [warning] server localhost:8529 shutdown >> [warning] port 8529 still in use... >> done >> [ error] error running tests (please examine t/logs/error_log) >> >> >> END in modperl_extra.pl, pid=27527 >> END in modperl_extra.pl, pid=27527 >> [Thu Jan 06 18:32:39 2005] [notice] Apache/2.0.52 (Unix) world >> domination series/2.0 mod_perl/1.999.21-dev Perl/v5.8.6 configured -- >> resuming normal operations >> [Thu Jan 06 18:32:39 2005] [info] Server built: Dec 20 2004 12:33:06 >> [Thu Jan 06 18:32:39 2005] [debug] worker.c(1631): AcceptMutex: >> sysvsem (default: sysvsem) >> [Thu Jan 06 18:32:42 2005] [error] [client 127.0.0.1] client denied by >> server configuration: /src/asf/modperl/t/htdocs/TestAPI__access2 >> [Thu Jan 06 18:32:42 2005] [error] [client 127.0.0.1] client denied by >> server configuration: /src/asf/modperl/t/htdocs/TestAPI__access2 >> [Thu Jan 06 18:32:42 2005] [error] [client 127.0.0.1] client denied by >> server configuration: /src/asf/modperl/t/htdocs/TestAPI__access2 >> [Thu Jan 06 18:32:42 2005] [error] [client 127.0.0.1] client denied by >> server configuration: /src/asf/modperl/t/htdocs/TestAPI__access2 >> [Thu Jan 06 18:32:42 2005] [error] [client 127.0.0.1] client denied by >> server configuration: /src/asf/modperl/t/htdocs/TestAPI__access2 >> [Thu Jan 06 18:32:42 2005] [error] [client 127.0.0.1] client denied by >> server configuration: /src/asf/modperl/t/htdocs/TestAPI__access2 > > > Please show us the t/conf/httpd.conf entry (that's mine :) : > > > PerlAuthenHandler TestAPI::access2 > PerlResponseHandler Apache::TestHandler::ok1 > SetHandler modperl > > > # needed to test $r->satisfies > Order Deny,Allow > Deny from all > Allow from rabbit.stason.org > > AuthType Basic > AuthName "Access" > Require user goo bar > Require group bar tar > > Require valid-user > > Satisfy All > > # htpasswd -mbc auth-users goo foo > # htpasswd -mb auth-users bar mar > # using md5 password so it'll work on win32 too > AuthUserFile /home/stas/apache.org/mp2-svn/t/htdocs/api/auth-users > # group: user1 user2 ... > AuthGroupFile > /home/stas/apache.org/mp2-svn/t/htdocs/api/auth-groups > > It says localhost for me. PerlAuthenHandler TestAPI::access2 PerlResponseHandler Apache::TestHandler::ok1 SetHandler modperl # needed to test $r->satisfies Order Deny,Allow Deny from all Allow from localhost AuthType Basic AuthName "Access" Require user goo bar Require group bar tar Require valid-user Satisfy All # htpasswd -mbc auth-users goo foo # htpasswd -mb auth-users bar mar # using md5 password so it'll work on win32 too AuthUserFile /src/asf/modperl/t/htdocs/api/auth-users # group: user1 user2 ... AuthGroupFile /src/asf/modperl/t/htdocs/api/auth-groups > > and see why it has failed. I'd think that the entry in Allow is not > matching your client. > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org For additional commands, e-mail: dev-help@perl.apache.org