perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Garrison <...@jhmg.net>
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
> 
> 
[snip]
> 
> 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 (jhg@acm.org)
PGP Keys at http://www.jhmg.net RSA 0x04B73B7F DH 0x70738D88

Mime
View raw message