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) { > > > and this on hits that succeed: > Use of uninitialized value in subroutine entry at > /usr/lib/perl5/site_perl/5.8.8/Apache2/Dispatch.pm line 74. > Use of uninitialized value in subroutine entry at > /usr/lib/perl5/site_perl/5.8.8/Apache2/Dispatch.pm line 74. > > > On Mon, Jun 7, 2010 at 7:50 PM, Fred Moyer <f...@redhotpenguin.com> wrote: >> >> On Tue, Jun 1, 2010 at 6:43 PM, Joe Breeden <joe.bree...@gmail.com> wrote: >> > I have been using Apache2::Dispatch with a fair amount of success - and >> > thank you Fred Moyer very much for this Perl module - until I tried to >> > use >> > it with a specific web app/virtual host configuration. I wonder if >> > someone >> > could take a moment and help me out. Basically, I have one "web app" >> > that I >> > would like to use on two different virtual hosts on my server. When I >> > configure the location directive, one host works and the other fails. I >> > have >> > attached the virtualhost config from my server. >> > >> > As you can see there is nothing out of the ordinary in my configuration. >> > If >> > I use that configuration and try to access >> > http://f4lkids.joehep.com/admin >> > is loads as expect, but when I try to access http://f4l.joehep.com/admin >> > I >> > get a 'File does not exist: /var/www/sites/fit4life/public_html/admin' >> > line >> > in the error log. The authentication request is made, so I think apache >> > is >> > recognizing the location directive and if I comment out the >> > f4lkids.joehep.com virtual host the f4l.joehep.com call works correctly. >> > >> > I've done the normal searching - google, google groups, the this mailing >> > list, etc and have not seen anything relating to this issue. If someone >> > could point me in the correct direction, I would appreciate it. Thank >> > you in >> > advance for your help. >> >> Joe, can you post some of the debugging output from Apache2::Dispatch? >> It looks like you have debugging enabled in the config file. > > > >