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 s

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: Yes, that does indeed correct the prob

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 Sections. Confirmed in 1.26. > > > > > 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-13 Thread David Wheeler
On Fri, 2002-02-08 at 20:25, Salvador Ortiz Garcia wrote: > Yes, It's a bug in Sections. Confirmed in 1.26. > 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 you're righ

Re: Perl Section Bug?

2002-02-08 Thread Salvador Ortiz Garcia
Yes, It's a bug in 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) $Location{'/status'} = { SetHandler => 'server-sta

Re: Perl Section Bug?

2002-02-01 Thread David Wheeler
On Fri, 2002-02-01 at 18:56, David Wheeler wrote: > 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

Re: Perl Section questions

2000-06-01 Thread Doug MacEachern
On Wed, 31 May 2000, Kees Vonk 7249 24549 wrote: > I have two questions about perl sections: > > 1) Has setting an entry in the %ENV hash in a perl section >the same effect as using a SetEnv (or PerlSetEnv) no, %ENV is cleared at startup, you need to use the *Env directives for any you wa

Re: Perl Section...

2000-04-20 Thread darren chamberlain
w trillich ([EMAIL PROTECTED]) said something to this effect: > > while($domain = $sth->fetchrow_array) > > { > > $PerlConfig .= <<"CONFIG"; > > > > ServerName www.$domain > > ServerAdmin webmaster@$domain > > ServerAlias $domain > > DocumentRoot $baseDir/www.$domain/htdocs/

RE: Perl Section...

2000-04-20 Thread Geoffrey Young
> -Original Message- > From: w trillich [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 20, 2000 11:51 AM > To: modperl > Subject: Re: Perl Section... > > > > while($domain = $sth->fetchrow_array) > > { > > $PerlConfig .= <&

Re: Perl Section...

2000-04-20 Thread w trillich
> while($domain = $sth->fetchrow_array) > { > $PerlConfig .= <<"CONFIG"; > > ServerName www.$domain > ServerAdmin webmaster@$domain > ServerAlias $domain > DocumentRoot $baseDir/www.$domain/htdocs/ > > > CONFIG > } doesn't $sth->fetchrow_array() return a reference to an

RE: Perl Section...

2000-04-20 Thread Geoffrey Young
> -Original Message- > From: Bryan J. Opfer [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 19, 2000 5:42 PM > To: [EMAIL PROTECTED] > Subject: Re: Perl Section... > > > I have $sth->finish in there right before the disconnect and it sill > gives me

Re: Perl Section...

2000-04-19 Thread Bryan J. Opfer
I have $sth->finish in there right before the disconnect and it sill gives me the message. If it is just a warning message then there must be something else wrong. Is there something else that would cause it not to work. I gave mod_perl the "PERL_SECTIONS=1" option when I compiled it. Here is

RE: Perl Section...

2000-04-19 Thread Geoffrey Young
> -Original Message- > From: Bryan J. Opfer [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 19, 2000 3:27 PM > To: Modperl List > Subject: Perl Section... > > > Anyone know what this error would mean: > > DBI handle cleared whilst still active at > /usr/lib/perl5/site_perl/5.005/i