Yeah, this is a known bug. Recursive <Perl > sections are currently broken. I submitted a patch about this problem a while back, but we failed to reach concensus on which way was _the_right_way_ to solve the problem.
I am planning on revisiting this known bug in the near future, so you'll have to hold on until then, or maybe give a spin to one of the patch I posted archived here : http://marc.theaimsgroup.com/?t=105401041500001&r=1&w=2 On Wed, 2003-07-09 at 15:56, Sreeji K Das wrote: > Following demonstrates the problem: > $ cat /tmp/test.conf > <Perl > > @Include = "/tmp/test1.conf"; > </Perl> > > Listen 43499 > > $ cat /tmp/test1.conf > <Perl > > $Port = 42480; > </Perl> > > $ httpd -X -f /tmp/test.conf > Syntax error on line 7 of /tmp/test.conf: > Use of uninitialized value in subroutine entry at > /tmp/CVS/virgin/modperl-2.0/blib/lib/Apache2/Apache/PerlSection.pm > line 171. > ----------------------------- > I've confirmed that ap_walk_config() in > modperl_config_insert() indeed returns a valid error > message and this gets propogated to post_config() in > PerlSection.pm & a dir $errmsg happens. I guess this > has something to do with the double eval() happening. > ie. one for Include, and then recursively for Port. > > I'll debug it further; but it'd be nice if some1 > already knows the issue and has a solution ! > > thx > Sreeji > > ________________________________________________________________________ > Want to chat instantly with your online friends? Get the FREE Yahoo! > Messenger http://uk.messenger.yahoo.com/ >
signature.asc
Description: This is a digitally signed message part
