Hi -

I'm trying to get mason running under mod_perl 2,
but this is a mod_perl question. I need to have the
following set:

PerlSetVar  MasonArgsMethod  CGI

When I configure mason in httpd.conf w/o a startup handler,
everything is fine.

With a handler, even with the PerlSetVar before the
'require' for the handler in the conf file, CGI is NOT
set.

Question: how can I PerlSetVar from the perl code in the
handler? I see:

push @{ $Location{"/"}->{PerlSetVar} }, [ foo => 'bar' ];

in the mp1 docs - looks good - but where do I get the %Location
hash? Can't seem to find that.

Aloha => Beau.

Reply via email to