[rt-users] RT not processing mason templates

Todd Chapman rt at chaka.net
Sat Nov 20 10:30:32 EST 2004


Did you rebuild mod_perl?

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