[rt-users] RT not processing mason templates

Sam Stickland sam_ml at spacething.org
Sat Nov 20 06:45:00 EST 2004


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



More information about the rt-users mailing list