Results of httpd -l:

Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c

------------------------------------------------------------------------
--
and the results after adding the lines:

[warning] Skipping 'set unlimited ulimit for coredumps', since we are
running as a n
on-root user on Solaris
/home/Intranet/ssiweb/apache/bin/httpd -d
/home/src/perl_modules/mod_perl-2.0.4/t -
f /home/src/perl_modules/mod_perl-2.0.4/t/conf/httpd.conf -D APACHE2
using Apache/2.2.10 (prefork MPM)

waiting 120 seconds for server to start: ..[Mon Nov 10 16:31:43 2008]
[info] 6 Apach
e2:: modules loaded
[Mon Nov 10 16:31:43 2008] [info] 0 APR:: modules loaded
[Mon Nov 10 16:31:43 2008] [info] base server + 29 vhosts ready to run
tests
..............
waiting 120 seconds for server to start: ok (waited 15 secs)
server localhost:8529 started
server localhost:8530 listening (filter_out_apache)
server localhost:8531 listening (perlsections)
server localhost:8532 listening (inherit)
server localhost:8533 listening (TestModperl::merge)
server localhost:8534 listening (TestModperl:erl_options)
server localhost:8535 listening (TestModperl:erl_options2)
server localhost:8536 listening (TestModperl::setupenv)
server localhost:8537 listening (TestModules:roxy)
server localhost:8538 listening (TestUser::rewrite)
server localhost:8539 listening (TestVhost::config)
server localhost:8540 listening (TestVhost::log)
server localhost:8541 listening (TestProtocol::echo_bbs)
server localhost:8542 listening (TestProtocol::echo_bbs2)
server localhost:8543 listening (TestProtocol::echo_block)
server localhost:8544 listening (TestProtocol::echo_filter)
server localhost:8545 listening (TestProtocol::echo_nonblock)
server localhost:8546 listening (TestProtocol::echo_timeout)
server localhost:8547 listening (TestProtocol:seudo_http)
server localhost:8548 listening (TestPreConnection::note)
server localhost:8549 listening (TestHooks::hookrun)
server localhost:8550 listening (TestHooks::init)
server localhost:8551 listening (TestHooks::stacked_handlers2)
server localhost:8552 listening (TestHooks::startup)
server localhost:8553 listening (TestHooks::trans)
server localhost:8554 listening (TestFilter::both_str_con_add)
server localhost:8555 listening (TestFilter::in_bbs_inject_header)
server localhost:8556 listening (TestFilter::in_bbs_msg)
server localhost:8557 listening (TestFilter::in_str_msg)
server localhost:8558 listening (TestDirective:erlmodule)
server localhost:8559 listening (TestDirective:erlrequire)
server localhost:8560 listening (TestAPI::add_config)
server localhost:8561 listening (TestDirective:erlloadmodule3)
server localhost:8562 listening (TestDirective:erlloadmodule4)
server localhost:8563 listening (TestDirective:erlloadmodule5)
server localhost:8564 listening (TestDirective:erlloadmodule6)
server localhost:8565 listening (TestHooks:ush_handlers_anon)
t/hooks/authz....
1..4
# Running under perl version 5.008008 for solaris
# Current time local: Mon Nov 10 16:31:58 2008
# Current time GMT: Tue Nov 11 00:31:58 2008
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.31
ok 1
ok 2
ok 3
not ok 4
# Failed test 4 in t/hooks/authz.t at line 19
rc was $VAR1 = bless( {
'_protocol' => 'HTTP/1.1',
'_content' => '1..1
# Running under perl version 5.008008 for solaris
# Current time local: Mon Nov 10 16:31:51 2008
# Current time GMT: Tue Nov 11 00:31:51 2008
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.31
ok 1
',
'_rc' => '200',
'_headers' => bless( {
'client-date' => 'Tue, 11 Nov
2008 00:32:02
GMT',
'content-type' => 'text/plain',
'connection' => 'close',
'date' => 'Tue, 11 Nov 2008
00:32:02 GMT',
'client-peer' =>
'127.0.0.1:8529',
'server' => 'Apache/2.2.10
(Unix) world domi
nation series/2.0 DAV/2 PHP/5.2.6 mod_perl/2.0.4 Perl/v5.8.8'
}, 'HTTP::Headers' ),
'_msg' => 'OK',
'handlers' => {
'response_data' => [
sub { "DUMMY" }
]
},
'_request' => bless( {
'_content' => '',
'_uri' => bless( do{\(my $o =
'http://localh
ost:8529/TestHooks__authz')}, 'URI::http' ),
'_headers' => bless( {

'user-agent' => 'libw
ww-perl/5.817',

'authorization' => 'B
asic ZG91Z206Zm9v'
},
'HTTP::Headers' ),
'_method' => 'GET',
'_uri_canonical' =>
$VAR1->{'_request'}{'_ur
i'}
}, 'HTTP::Request' )
}, 'HTTP::Response' );
Failed 1/4 subtests

Test Summary Report
-------------------
t/hooks/authz (Wstat: 0 Tests: 4 Failed: 1)
Failed test: 4
Files=1, Tests=4, 4 wallclock secs ( 0.13 usr 0.07 sys + 2.13 cusr
0.60 csys =
2.93 CPU)
Result: FAIL
Failed 1/1 test programs. 1/4 subtests failed.
[warning] server localhost:8529 shutdown
[ error] error running tests (please examine t/logs/error_log)


Thanks!

------------------------------------------------------------------------
---


-----Original Message-----
From: Fred Moyer [mailto:fred@redhotpenguin.com]
Sent: Monday, November 10, 2008 4:28 PM
To: Chen, Peter
Cc: modperl@perl.apache.org
Subject: Re: [mp2.0.4] t/hooks/authen_basic (Wstat: 0 Tests: 4 Failed:
1)

I just tried this test with 2.0.4 and 2.2.10 (default configuration)
and it passed. Might be the way your have apache configured, can you
post the output of 'httpd -l'?

You could modify t/hooks/authz.t to dump out the response code -
here's how I did it:

19 ok ! GET_OK $location, username => 'jobbob', password => 'whatever';
20 $rc = GET $location, username => 'jabbob', password => 'whatever';
21 use Data:umper;
22 warn("rc was " . Dumper($rc));

If you can make that modification post the results back here.

On Mon, Nov 10, 2008 at 3:48 PM, Chen, Peter wrote:
> Here are the results from the terminal:
>
> [warning] Skipping 'set unlimited ulimit for coredumps', since we are
> running as a non-root user on Solaris
> /home/Intranet/ssiweb/apache/bin/httpd -d
> /home/src/perl_modules/mod_perl-2.0.4/t -f
> /home/src/perl_modules/mod_perl-2.0.4/t/conf/httpd.conf -D APACHE2
> using Apache/2.2.10 (prefork MPM)
>
> waiting 120 seconds for server to start: ...[Mon Nov 10 15:44:26 2008]
> [info] 6 Apache2:: modules loaded
> [Mon Nov 10 15:44:26 2008] [info] 0 APR:: modules loaded
> [Mon Nov 10 15:44:26 2008] [info] base server + 29 vhosts ready to run
> tests
> ............

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
This message is for the named person's use only. This communication is for
informational purposes only and has been obtained from sources believed to
be reliable, but it is not necessarily complete and its accuracy cannot be
guaranteed. It is not intended as an offer or solicitation for the purchase
or sale of any financial instrument or as an official confirmation of any
transaction. Moreover, this material should not be construed to contain any
recommendation regarding, or opinion concerning, any security. It may
contain confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. If
you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify the
sender. You must not, directly or indirectly, use, disclose, distribute,
print, or copy any part of this message if you are not the intended
recipient. Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorized to state them to be the views of any such entity.

Securities products and services provided to Canadian investors are offered
by ITG Canada Corp. (member CIPF and IDA), an affiliate of Investment
Technology Group, Inc.

ITG Inc. and/or its affiliates reserves the right to monitor and archive
all electronic communications through its network.

ITG Inc. Member FINRA, SIPC
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-