On Tue, Jun 8, 2010 at 1:21 PM, Fred Moyer <f...@redhotpenguin.com> wrote:
> On Tue, Jun 8, 2010 at 9:10 AM, Joe Breeden <joe.bree...@gmail.com> wrote: > > I'm seeing this in the log on hits that fail: > > > > Use of uninitialized value in substitution iterator at > > /usr/lib/perl5/site_perl/5.8.8/Apache/Dispatch/Util.pm line 350. > > Use of uninitialized value in string eq at > > /usr/lib/perl5/site_perl/5.8.8/Apache/Dispatch/Util.pm line 368. > > Can you apply this patch and post the output from the failed hits? > > Index: lib/Apache/Dispatch/Util.pm > =================================================================== > --- lib/Apache/Dispatch/Util.pm (revision 86) > +++ lib/Apache/Dispatch/Util.pm (working copy) > @@ -326,6 +326,7 @@ > my $location; > > # change all the / to :: > + $log->debug('uri: ' . $r->uri) if $debug > 1; > (my $class_and_method = $r->uri) =~ s!/!::!g; > > if ($newloc) { > > > I made the change, but didn't see the output. In fact, I don't think any of the logging output is actually being generated. It may be because my mod_perl wasn't compiled with the proper switches for this module. I just used the mod_perl that was configured with the host. I re-read the perldoc and noticed this: "This is alpha software, and as such has not been tested on multiple platforms or environments for security, stability or other concerns. It requires PERL_DIRECTIVE_HANDLERS=1, PERL_LOG_API=1, PERL_HANDLER=1, and maybe other hooks to function properly." Which makes me think I should look at the way mod_perl was compiled on my box. But, just in case it helps, I changed the $log->debug to just a print STDERR and got: uri: /admin Thanks for the help