On Thu, 19 May 2005, Stas Bekman wrote:
Herve Guillemet wrote:
1. Problem Description:
A custom apache config directive defined in a <Location> together with a PerlResponseHandler makes the request handling crash.
Herve, have you considered to check the error_log before reporting a problem? Your code is improperly written and the error_log should have told you that. In the future please check that file first. Thank you.
Please find an attached tarball with a testing setup that works.
Hi Stas,
I have indeed forgotten to mention that there was absolutely nothing in the error_log, nor in the access_log, about the crashed request.
Please mention that in the future :)
Thanks for your answer and the testing setup . But this still does not work in my environment. No core generated.[...]
make test
t/bug....skipped all skipped: no reason given
as you can see the test wasn't run, it was skipped. You need to install LWP from CPAN. But this test should work w/o LWP too. Please try with this patch
diff -u bug.t.orig bug.t --- bug.t.orig 2005-05-20 10:39:16.000000000 -0400 +++ bug.t 2005-05-20 10:39:31.000000000 -0400 @@ -5,7 +5,7 @@ use Apache::TestRequest; use Apache::TestUtil;
-plan tests => 1, have_lwp; +plan tests => 1; { my $response = GET '/test';
-- __________________________________________________________________ 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