perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Garrison <>
Subject Re: PerlSetVar inside <Location> doesn't seem to work
Date Thu, 16 Jul 2015 00:19:41 GMT
On 7/15/2015 5:07 PM, Jim Garrison wrote:
> I have the following config
> However it's getting empty strings for the values.  This was working
> when the PerlSetVar directives were outside the VirtualHost block.

It seems when you access dir_config through the ServerRec you only get
values set at the server level. To get the VirtualHost level variables
you must use the RequestRec.  Makes sense, I guess.

Thanks to John Dunlap... your example pointed me in the right direction.

Jim Garrison (
PGP Keys at RSA 0x04B73B7F DH 0x70738D88

View raw message