Geoffrey Young wrote: >>Now, to make it fail: >>put this on the end: >> >><Perl > >>$Location{"/"} = { >> AuthType => 'Basic', >> AuthName => 'Foo', >> PerlAuthenHandler => 'Apache::Kinnetics::Authenticate', >> 'require' => 'valid-user' >>}; >></Perl> > > > yeah, I see it now - it's the same (known) bug somebody was bitten by > earlier this week. > > basically, PerlSetVar and PerlAddVar do not merge properly for overlapping > containers. in your situation the <Location /> is merging with your > <Location /foo> (or whatever). the same bug holds for <Location /foo> > merges and .htaccess files, for instance. server-level to directory-level > merges work just fine, as you can see from the test case. > > anyway, it is on my short list of things to do, but it's actually a complex > bug that is now in its second iteration. but I expect to get around to > fixing it "soonish".
this has been fixed in current cvs. please give the latest mod_perl sources a try and report back if you are still seeing improper merge behavior. --Geoff -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html