[Catalyst] PerlSetVar $r->dir_config
tkeefer at sunflowerbroadband.com
Mon Jul 25 21:54:58 CEST 2005
Yes, However, it's done by using PerlSetVar and $r->dir_config.
I use it this way ...
PerlSetVar root "/config"
# handler stuff ....
# This inherits the SetVar value of "/config"
# from /myapp since it's not defined
On Mon, 25 Jul 2005 14:44:29 -0500
samwyse <samwyse at gmail.com> wrote:
> On 7/25/05, Tim Keefer <tkeefer at sunflowerbroadband.com> wrote:
> > I see. However it doesn't seem to allow me to set environment
> > variables per <Location>.
> > Can Catalyst support this behavior?
> I'm not so sure that Apache truly supports that behavior. A search of
> Google indicates some bugs regarding PerlSetEnv and multiple virtual
> hosts, which isn't too surprising since there's only one Perl
> interpreter for all virtual hosts and the main server. Do you have
> this working in mod_perl outside of Catalyst?
> Catalyst mailing list
> Catalyst at lists.rawmode.org
More information about the Catalyst