[rt-users] RT3 Problem: Apache2 + mod_perl. webmux.pl problem
Philip Reynolds
philip.reynolds at rfc-networks.ie
Tue Jun 24 17:49:02 EDT 2003
Philip Reynolds <philip.reynolds at rfc-networks.ie> 106 lines of wisdom included:
> The strange thing is that $r doesn't seem to be a global object
>
> I've pasted some of the relevant code from HTML::Mason in case this
> helps anyone either. I have a strange feeling this belongs more on
> rt-devel, but I thought I'd try here first.
>
> ----------------------------8<-----------------------------
>
> if ( exists $allowed_params->{comp_root} and ## Line 573
> my $req = $r || Apache->request ) ## Line 574
> {
>
> ---------------------------->8-----------------------------
It seems to be a compatability problem between HTML::Mason and
mod_perl2. I changed the line
my $req = $r || Apache->request )
to
my $req = $r )
and everything seems to work OK now.
--
Philip Reynolds | RFC Networks Ltd.
philip.reynolds at rfc-networks.ie | +353 (0)1 8832063
http://people.rfc-networks.ie/~phil | www.rfc-networks.ie
More information about the rt-users
mailing list