This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig64A61ACA2A39B81DB6F37B4F
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable



kgerbasi wrote:
>=20
>=20
> Philippe M. Chiasson wrote:
>> kgerbasi wrote:
>>> 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 conf=

ig
>>> works ok in 1.3, however in 2.2 I get the following error 'Perl direc=

tive
>>> not allowed in a block'. =20
>>>
>>> Can I no longer put a perl directive in a location block?

>> Not anymore, no.
>>
>> Can you post a more detailled example of what you are trying to do?
>>
>> --=20
>> Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5=

A5
>> http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.or=

g/
>> =20
>>

>=20
> 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=


> removed?
>=20
>
>
> my $config =3D Config::ApacheConfiguration->new();
> my @clientOptions =3D $config->GetClientConfiguration('5');
> push @PerlSetVar, @clientOptions;
>

>


Just moving out of the should work just fine, no?

Otherwise, you can always do:


$Location{'/'} =3D


To inject configuration for that location.


--=20
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/


--------------enig64A61ACA2A39B81DB6F37B4F
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHmQfsyzKhB4jDpaURAtv7AKClP8sDJdNhaxYb6kEhrx fZBOGhogCfT/h6
GlCYtEURAsKahhIkfvRgqXY=
=OB7J
-----END PGP SIGNATURE-----

--------------enig64A61ACA2A39B81DB6F37B4F--