On Sun, 9 Jan 2000 [EMAIL PROTECTED] wrote:

> >>>>> "Eric" == Eric  writes:
> 
> Eric> On Sun, Jan 09, 2000 at 08:47:04PM +0300, [EMAIL PROTECTED] wrote:
> >> I'm trying to configure httpd.conf using Perl sections (mod_macro is
> >> not enough for me), but the result is weird. 
> 
> Eric> Do you have a specific example of your config, and what doesn't work,
> Eric> that you could post maybe? It's hard to help without specifics.
> Okay, here it is. Note that fragment marked #!!! is critical for some
> bugs: when these strings are commented out, first <Perl> block
> executes with error, if they are uncommented, it does NOT
> executes. Second <Perl> block never executes at all.

> #!!!
> #    foreach (keys %$Location{"/$loc"}) {

that should be %Location, not %$Location

if you compile with PERL_TRACE=1 (option to Makefile.PL) and set the
environment variable MOD_PERL_TRACE to all before starting the server,
you'll get some diagnostics that can help debug these situations.

Reply via email to