Re: Trouble using dir_config for PerlSetVar inside Perl section

2003-02-18 Thread Geoffrey Young
Larry Leszczynski wrote: Hi all - I'm having trouble using server-dir_config in my startup.pl to read variables set by PerlSetVar inside a Perl section. I'm using Perl 5.6.1, Apache 1.3.27, and mod_perl 1.27. [snip] and this does not work either: Perl push

Re: Trouble using dir_config for PerlSetVar inside Perl section

2003-02-18 Thread Larry Leszczynski
Hi Geoff - and this does not work either: Perl push @{$Location{/}-{PerlSetVar}}, [CFG, /path/to/file]; $PerlRequire = startup.pl; /Perl [snip] what may be happening is that your dynamic configuration may be putting your PerlSetVar into a per-directory scope

Trouble using dir_config for PerlSetVar inside Perl section

2003-02-17 Thread Larry Leszczynski
Hi all - I'm having trouble using server-dir_config in my startup.pl to read variables set by PerlSetVar inside a Perl section. I'm using Perl 5.6.1, Apache 1.3.27, and mod_perl 1.27. In startup.pl I have: my $file = Apache-server-dir_config(CFG) || ; warn Missing path to config file in