[rt-users] A question about RT use with Apache2+mod_perl2

Robert Paskowitz RPaskowitz at michener.ca
Mon Aug 30 23:59:32 EDT 2004


I had the same problem, I can't recall the exact cause, but it was certainly something to do with Mason. I had found a fix, but it was not entirely satisfactory, since some things like RSS feedsa and CSV exports stopped working.

Working off the fix I found, I corrected those 2 issues, as well as made graph from the statistics addon work. Below is the relevant portion of my apache config

---------------------------------------------------

PerlModule Apache2 Apache::compat
PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl
# Catch the html files
<FilesMatch "\.html$">
        SetHandler perl-script
        PerlHandler RT::Mason
</FilesMatch>
# The csv exports...
<FilesMatch "\.tsv.*$">
        SetHandler perl-script
        PerlHandler RT::Mason
</FilesMatch>
# The RSS feeds...
<FilesMatch "\.rdf.*$">
        SetHandler perl-script
        PerlHandler RT::Mason
</FilesMatch>
# not sure, this came with the solution I found
<LocationMatch "/REST/">
        SetHandler perl-script
        PerlHandler RT::Mason
</LocationMatch>
# Again, foudn with solution
<LocationMatch "/Attachment/">
        SetHandler perl-script
        PerlHandler RT::Mason
</LocationMatch>
# This one is for the graph produced by the statistics addon
<LocationMatch "Elements/Chart.*">
        SetHandler perl-script
        PerlHandler RT::Mason
</LocationMatch>
---------------------------------------------------




More information about the rt-users mailing list