In a fit of boredom, I wiped my FreeBSD install on my laptop and installed Ubuntu. To continue that fit, I decided to install Apache2 and give the Apache-Test 1.27 RC a testing.
At first shot, the cookies.t tests failed: > [EMAIL PROTECTED]:~/Apache-Test-1.27-dev$ perl t/TEST t/cookies.t -verbose > [warning] setting ulimit to allow core files > ulimit -c unlimited; /usr/bin/perl /home/claco/Apache-Test-1.27-dev/t/TEST > 't/cookies.t' -verbose > /usr/sbin/apache2 -d /home/claco/Apache-Test-1.27-dev/t -f > /home/claco/Apache-Test-1.27-dev/t/conf/httpd.conf -D APACHE2 -D > PERL_USEITHREADS > using Apache/2.0.53 (worker MPM) > > waiting 60 seconds for server to start: . > waiting 60 seconds for server to start: ok (waited 0 secs) > server localhost.localdomain:8529 started > t/cookies....1..2 > # Running under perl version 5.008004 for linux > # Current time local: Sat Oct 8 19:24:52 2005 > # Current time GMT: Sat Oct 8 23:24:52 2005 > # Using Test.pm version 1.24 > # Using Apache/Test.pm version 1.27 > # testing : new cookie > # expected: new > # received: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> > # <html><head> > # <title>503 Service Temporarily Unavailable</title> > # </head><body> > # <h1>Service Temporarily Unavailable</h1> > # <p>The server is temporarily unable to service your > # request due to maintenance downtime or capacity > # problems. Please try again later.</p> > # </body></html> > not ok 1 > # Failed test 1 in t/cookies.t at line 17 > # testing : existing cookie > # expected: exists > # received: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> > # <html><head> > # <title>503 Service Temporarily Unavailable</title> > # </head><body> > # <h1>Service Temporarily Unavailable</h1> > # <p>The server is temporarily unable to service your > # request due to maintenance downtime or capacity > # problems. Please try again later.</p> > # </body></html> > not ok 2 > # Failed test 2 in t/cookies.t at line 18 > FAILED tests 1-2 > Failed 2/2 tests, 0.00% okay > Failed Test Stat Wstat Total Fail Failed List of Failed > ------------------------------------------------------------------------------- > t/cookies.t 2 2 100.00% 1-2 > Failed 1/1 test scripts, 0.00% okay. 2/2 subtests failed, 0.00% okay. > [warning] server localhost.localdomain:8529 shutdown > [ error] error running tests (please examine t/logs/error_log) As it turned out, the Ubuntu Apache2 install comes with both mod_cgi AND mod_cgid installed and mod_cgid enabled. A-T apparently detects cgid and tries using that in the config. The dies a horrible death because my user (or nobody when runnung A-T as root) can't fire up and bind a new cgid process when trying to run the cookies.pl test file. Once I disabled mod_cgid (leaving mod_cgi) alone, all was well and all tests passed. So, was this just an unlucky happenstance on my machine, or should A-T skip those tests if we have mod_cgid instead of mod_cgi? I guess I wasn't aware that need_cgi passed with cgid. P.S. What hell is up with how Ubuntu loads/enables modules in Apache2? Holy complicated batman. -=Chris