RE: APREQ_ERROR_MISMATCH error, I think

2014-06-23 Thread Mark Hedges
D'oh sorry bad value for POST_MAX, please ignore. -Mark -Original Message- From: Mark Hedges Sent: Monday, June 23, 2014 4:02 PM To: apreq-...@httpd.apache.org; mod_perl list Cc: Mark Hedges Subject: RE: APREQ_ERROR_MISMATCH error, I think No one seems home on the apreq-dev list so I'm

RE: APREQ_ERROR_MISMATCH error, I think

2014-06-23 Thread Mark Hedges
No one seems home on the apreq-dev list so I'm ccing mod_perl in the hope someone can help. Sorry if that annoys anyone. I rebuilt everything using perl 5.20.0, Apache 2.2.27 will all the mods, mod_perl svn trunk. When I use Apache2::Request, I get a server error, it fails with the message "C

RE: any way to get the uri path part that matches $r->location?

2014-06-23 Thread Mark Hedges
I was thinking about this, I think I can do something like: my $loc = $r->location; $loc =~ s{/$}{}; my ($loc_match, $rest_of_path) = $r->uri =~ m{^(\Q$loc\E.*?/)(.*?)$}mxs; I will try it out when I get a chance. Mark -Original Message- From: Mark Hedges Sent: Monday, June 23, 2014 12:

error in Apache::TestSSLCA, cannot build libapreq

2014-06-23 Thread Mark Hedges
"Use of each() on hash after insertion without resetting hash iterator results in undefined behavior, Perl interpreter: 0xf2e8010 at /ntfhome/local/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld/Apache/TestSSLCA.pm line 103. Compilation failed in require at /ntfhome/local/lib/perl5/sit

bug in Apache2::BuildConfig using trunk and event MPM

2014-06-23 Thread Mark Hedges
It seems like mpm_is_threaded should answer 1 for the event MPM, but it answers 0, and the test fails. The patch works around this by detecting whether it is actually prefork or not, but there may be a deeper problem here. HTH. -Mark 2014-06-23 14:02:45 Mon $ svn diff ModPerl-Registry/t/pre

bug in trunk in Apache::Reload test

2014-06-23 Thread Mark Hedges
Perl 5.20.0, Apache 2.2.27, APR 1.5.1, APR-util 1.5.3, mod_perl trunk. 2014-06-23 11:16:32 Mon $ svn diff t/lib/Apache2/TestReload.pm Index: t/lib/Apache2/TestReload.pm === --- t/lib/Apache2/TestReload.pm (revision 160470

Re: bug in test script t/api/err_headers_out.t in released mod_perl 2.0.8 - patch supplied

2014-06-23 Thread Steve Hay
On 23 June 2014 09:00, Mark Hedges wrote: > This worked in trunk. Thanks. I guess I spun my wheels for a couple hours. > > Would it be a good idea to roll out 2.0.9 as a bugfix, and make httpd24 > 2.1.0? 2.0.10? > I think many people would be annoyed if 2.0.9 appeared and still didn't contain

RE: bug in test script t/api/err_headers_out.t in released mod_perl 2.0.8 - patch supplied

2014-06-23 Thread Mark Hedges
This worked in trunk. Thanks. I guess I spun my wheels for a couple hours. Would it be a good idea to roll out 2.0.9 as a bugfix, and make httpd24 2.1.0? 2.0.10? Mark -Original Message- From: Mark Hedges Sent: Monday, June 23, 2014 12:22 AM To: modperl@perl.apache.org Cc: Mark Hedge

any way to get the uri path part that matches $r->location?

2014-06-23 Thread Mark Hedges
In Apache2::Controller the dispatch mechanism gets the URI into a variable, then removes $r->location from the start of it to get the remaining parts of the path, to determine which controller method to invoke. This works for conf but not , because $r->location reports the string from the conf

RE: what is "world domination series"?

2014-06-23 Thread Mark Hedges
I'm the one who didn't get it, apparently. -Mark $ ack 'world domination series' ack: perl/perl-5.20.0/t/pleaseletthisfilenotexist.pag: cannot open file for reading ack: perl/perl-5.20.0/t/pleaseletthisfilenotexist.dir: cannot open file for reading perl/mod_perl-2.0.8/t/conf/modperl_extra.pl 11

bug in test script t/api/err_headers_out.t in released mod_perl 2.0.8 - patch supplied

2014-06-23 Thread Mark Hedges
t/api/err_headers_out.t was recently changed to accommodate changes in HTTP::Headers 6.0, but the change did not make it forward-compatible for further versions of HTTP::Headers. The patch for the test script is below at the end. Thank you. HTH. -Mark s...@tst1.ntf.cftdev1 /ntfhome/local/sr

Re: $r->path_info unreliable?

2014-06-23 Thread Torsten Förtsch
On 19/06/14 02:13, Worik Stanton wrote: > In my handler I call $r->path_info to determine the path used to > call my script. > > I am trying to have a test version of my code using the same module > but which reads different data based on the path. > > So I have: > > > SetHandler perl-script

Re: what is "world domination series"?

2014-06-23 Thread André Warnier
I may be thick, or not in the loop, but I didn't get this. Care to provide a hint ? Mark Hedges wrote: *lol* ... `force install App::Ack` ... silly people :-) From: Mark Hedges Sent: Sunday, June 22, 2014 11:10 PM To: modperl@perl.apache.org Cc: Mark Hedges Subject: what is "world domination