[rt-users] RT not processing mason templates

Sam Stickland sam_ml at spacething.org
Mon Nov 22 07:22:52 EST 2004


On Sat, 20 Nov 2004, Todd Chapman wrote:

> Did you rebuild mod_perl?

Yep.

Current versions as reported from the apache logs are:

[Mon Nov 22 12:19:49 2004] [notice] Apache/2.0.52 (Unix) mod_perl/1.99_16 
Perl/v5.8.5 mod_ssl/2.0.52 OpenSSL/0.9.7a PHP/4.3.9 mod_fastcgi/2.4.2 
configured -- resuming normal operations

(I reinstalled the entire webserver+friends from scratch over the 
weekend).

Realised I hadn't installed the perl-glue for libapreq2, but that's been 
done now.

Still seeing unprocessed mason template code whenever I try to load RT.

mod_perl is does seem to be working (deliberately adding use statements 
for non-existant modules causes perl errors in the apache logs).

I'm starting to get very very stumped.

S

> On Sat, Nov 20, 2004 at 11:45:00AM +0000, Sam Stickland wrote:
>> Hi,
>>
>> After a round of upgrading caused by going from perl 5.8.0 to 5.8.5, RT no
>> longer seems to want to execute the Mason code.
>>
>> For example, going to the default URL gives:
>>
>>  %# BEGIN LICENSE BLOCK %# %# Copyright (c) 1996-2003 Jesse Vincent %# %#
>> (Except where explictly superceded by other copyright notices) %# %# This
>> work is made available to you under the terms of Version 2 of %# the GNU
>> General Public License. A copy
>>
>> etc.
>>
>> I've checked over all the obvious stuff. mod_perl is installed, along with
>> all the perl deps.
>>
>> httpd configuration is:
>>
>>    PerlSetVar MasonArgsMethod CGI
>>    PerlModule Apache2 Apache::compat
>>    RewriteEngine On
>>    RewriteRule ^(.*)/$ $1/index.html
>>
>>    PerlModule Apache::DBI
>>    PerlRequire /usr/local/rt3/bin/webmux.pl
>>
>>    <Location />
>>       SetHandler perl-script
>>       PerlHandler RT::Mason
>>    </Location>
>>
>>    <Location /REST/1.0/NoAuth/>
>>       SetHandler php-script
>>    </Location>
>> </VirtualHost>
>>
>> There aren't any errors in any of the logs (httpd or rt.log).
>>
>> This is with:
>>
>> This is perl, v5.8.5 built for i386-linux-thread-multi
>> Server version: Apache/2.0.47
>>
>> Anyone got any suggestions where to start hunting?
>>
>> Sam
>> _______________________________________________
>> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>>
>> Be sure to check out the RT wiki at http://wiki.bestpractical.com
>



More information about the rt-users mailing list