Return-Path: Delivered-To: apmail-httpd-test-dev-archive@www.apache.org Received: (qmail 99996 invoked from network); 7 Apr 2004 18:51:02 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 7 Apr 2004 18:51:02 -0000 Received: (qmail 15637 invoked by uid 500); 7 Apr 2004 18:50:52 -0000 Delivered-To: apmail-httpd-test-dev-archive@httpd.apache.org Received: (qmail 15611 invoked by uid 500); 7 Apr 2004 18:50:52 -0000 Mailing-List: contact test-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: test-dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list test-dev@httpd.apache.org Received: (qmail 15591 invoked from network); 7 Apr 2004 18:50:51 -0000 Received: from unknown (HELO mail.logilune.com) (195.154.174.52) by daedalus.apache.org with SMTP; 7 Apr 2004 18:50:51 -0000 Received: from stason.org (localhost.logilune.com [127.0.0.1]) by mail.logilune.com (Postfix) with ESMTP id 134E71E198D for ; Wed, 7 Apr 2004 20:50:55 +0200 (CEST) Message-ID: <40744D8D.2080601@stason.org> Date: Wed, 07 Apr 2004 11:50:53 -0700 From: Stas Bekman Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115 X-Accept-Language: en-us, en, he, ru MIME-Version: 1.0 To: test-dev@httpd.apache.org Subject: Re: Strange problem with Apache::Test v. 1.07-1.09 References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Barry King wrote: > > Hello, > > Sorry to bother you with this, but I've come across a problem with > Apache::Test that I can't find the cause of. I am hoping you will know > immediately what the cause is, so I'm writing you after a day of testing > and debugging. > > I have two nearly-identically installed debian boxes. Both compile and > test Apache::Test vers. 1.07-1.09 perfectly. They have very similar > installs of perl: the same libwww, the same mod_perl, libapreq, > apachectl, etc. They have the same apache configuration and binaries. > > I have a module (cpan: Apache::Wyrd) that tests fine on one, but on the > other fails because the document root is the same as the default > document root on that server, so documents under t/htdocs return 404. I > thought it might be a problem with following aliases, but both servers > direct apache to the files via the same alias. Barry, I'm not sure I understand the last paragraph, I download Apache-Wyrd-0.82 and tested it just fine. I see: ServerRoot "/tmp/Apache-Wyrd-0.82/t" DocumentRoot "/tmp/Apache-Wyrd-0.82/t/htdocs" in the autogenerated t/conf/httpd.conf Where does that phrase: because the document root is the same as the default document root on that server, so documents under ... fit into the picture? Which aliases are you talking about? --------------- BTW, i see you hardcode the port and hostname in extra.conf.in. You should use: @ServerName@:@Port@/login.html instead, since they can be different from the default ones. Also, I'm not sure why you needed: use lib '@ServerRoot@/../blib/lib'; it should be already in @INC. If you want to test against live modules, move your Wyrd main dir into lib/Wyrd and run the tests with env var APACHE_TEST_LIVE_DEV=1. __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:stas@stason.org http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com