Doug MacEachern wrote:
>>For some reason, Apache->request->dir_config returns an empty table (no
>>keys or values) even though Apache->server->dir_config has the revelant
>>config info.
>
>
> i can see why this is happening, the per-server and per-dir tables are not
> merged. one thing that'l
On Sat, 18 May 2002, Doug MacEachern wrote:
> Apache->request is deprecated. its error-prone and hurts performance when
> using threaded MPMs, since it has to use thread local storage.
> CGI.pm can be changed not to use it. why does mason use it when your
> handler is passed $r ?
Because we ha
On Sat, 18 May 2002, Dave Rolsky wrote:
> For some reason, Apache->request->dir_config returns an empty table (no
> keys or values) even though Apache->server->dir_config has the revelant
> config info.
the port from the 1.x Perl{Set,Add}Var directive handler code missed a bit
of logic, fixed
On Sat, 18 May 2002, Dave Rolsky wrote:
> More follow up.
>
> When $c is an APR::Table object, this code:
>
> while (my ($k, $v) = each %$c)
> {
> warn " $k => $v\n";
> }
>
> prints
>
> MasonAllowGlobals => $Schema
>
> 3 times over, instead of print $Schema, $Us
On Sat, 18 May 2002, Dave Rolsky wrote:
> ok, I just discovered this
>
> PerlOptions +GlobalRequest
>
> which fixes my previous problem, though it seems that maybe the default
> should be for this to be on, at least when Apache::compat is loaded, and
> maybe all the time since CGI.pm needs it.
On Sat, 18 May 2002, Dave Rolsky wrote:
> On Sat, 18 May 2002, Dave Rolsky wrote:
>
> > Now my new problem is that given this config:
> >
> > PerlSetVar MasonArgsMethod CGI
> >
> > PerlSetVar MasonAllowGlobals $Schema
> > PerlAddVar MasonAllowGlobals $UserSession
> > PerlAddVar MasonAllow
On Sat, 18 May 2002, Dave Rolsky wrote:
> Now my new problem is that given this config:
>
> PerlSetVar MasonArgsMethod CGI
>
> PerlSetVar MasonAllowGlobals $Schema
> PerlAddVar MasonAllowGlobals $UserSession
> PerlAddVar MasonAllowGlobals $AdminSession
>
> PerlModule HTML::Mason::Apache