Re: Perl Section Bug?

2002-02-20 Thread Michael Schout
On 13 Feb 2002, Salvador Ortiz Garcia wrote: Ok, I found it. Right now all Location, Directory and Files are afected by being upgraded at random to the Match versions. Can you please test the following patch for perl_config.c: You might be intersted to know that this patch also fixes

Re: Perl Section Bug?

2002-02-14 Thread David Wheeler
On Wed, 2002-02-13 at 20:44, Salvador Ortiz Garcia wrote: Ok, I found it. Right now all Location, Directory and Files are afected by being upgraded at random to the Match versions. Ugly. Can you please test the following patch for perl_config.c: snip / Yes, that does indeed correct the

Re: Perl Section Bug?

2002-02-13 Thread David Wheeler
On Fri, 2002-02-08 at 20:25, Salvador Ortiz Garcia wrote: Yes, It's a bug in Perl Sections. Confirmed in 1.26. snip / I'm digging into it. Thanks. I'm glad to know that I'm not imagining things. We've just found a place in Bricolage where the Location directive *does* work as expected. So

Re: Perl Section Bug?

2002-02-13 Thread Salvador Ortiz Garcia
On Wed, 2002-02-13 at 13:44, David Wheeler wrote: On Fri, 2002-02-08 at 20:25, Salvador Ortiz Garcia wrote: Yes, It's a bug in Perl Sections. Confirmed in 1.26. snip / I'm digging into it. Thanks. I'm glad to know that I'm not imagining things. We've just found a place in Bricolage

Re: Perl Section Bug?

2002-02-08 Thread Salvador Ortiz Garcia
Yes, It's a bug in Perl Sections. Confirmed in 1.26. But it is worse. With the following in httpd.conf try /info vs /status vs /status/info vs /info/status, with and without the commented part, (if one section fails, if two sections works) Perl $Location{'/status'} = { SetHandler =

Perl Section Bug?

2002-02-01 Thread David Wheeler
Okay, let me try again. I have a simple module I've written that demonstrates the problem. here it is: package MyTest; our $VERSION = '0.1'; use Apache; sub one { print STDERR One\n; print STDOUT One\n; return Apache::OK; } sub two { print STDERR Two\n; print STDOUT Two\n;

Re: Perl Section Bug?

2002-02-01 Thread David Wheeler
On Fri, 2002-02-01 at 18:56, David Wheeler wrote: snip / Why is this? It seems to be acting like LocationMatch directives rather than Location. Could this be a bug in how the Perl sections work? If not, how do I get that last request to print Two instead of One? Even if it *is* a bug, how