Re: Perl directive not allowed in a Location block
Philippe M. Chiasson wrote:[color=blue]
> kgerbasi wrote:[color=green]
>> I am currently upgrading our Apache server from 1.3 to 2.2 and I'm
>> encountering the following error when I try to start Apache. The config
>> works ok in 1.3, however in 2.2 I get the following error 'Perl directive
>> not allowed in a <Location> block'.
>> Can I no longer put a perl directive in a location block?[/color]
> Not anymore, no.
> Can you post a more detailled example of what you are trying to do?
> Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
> [url]http://gozer.ectoplasm.org/[/url] m/gozer\@(apache|cpan|ectoplasm)\.org/
I'm basically pulling client options from our database and setting them in
the conf file. What would the workaround be since this option has been
my $config = Config::ApacheConfiguration->new();
my @clientOptions = $config->GetClientConfiguration('5');
push @PerlSetVar, @clientOptions;
View this message in context: [url]http://www.nabble.com/Perl-directive-not-allowed-in-a-Location-block-tp15074701p15075224.html[/url]
Sent from the mod_perl - General mailing list archive at Nabble.com.