RT/Apache/FastCGI; page source displayed raw, not interpreted

I am trying to get RT running with FastCGI, with little success. Here’s my
configuration:

RT 3.0.4
Apache 2.0.47
mod_fastcgi 2.4.0
suidperl 5.8.0

Everything installed OK; I was missing a couple of Perl modules when I tested
the dependencies but they installed with no trouble. I have the following in my
httpd.conf:

Alias /rt/NoAuth/images/ “/usr/local/rt3/share/html/NoAuth/images/”
Alias /rt “/usr/local/rt3/share/html”
ScriptAlias /rt/ “/usr/local/rt3/bin/mason_handler.fcgi/”

<Location /rt>
RedirectMatch permanent (.*)/$ http://my.hosts.fqdn$1/index.html

AddHandler fastcgi-script fcgi
FastCgiServer /usr/local/rt3/bin/mason_handler.fcgi

The FastCGI server starts when I start Apache, and I’m not seeing any errors in
the log. But when I try to go to my.hosts.fqdn/rt/index.html, it just spits out
the source code of index.html rather than interpreting it.

If this has been addressed here before, please forgive me. I’ve been all
through RT/FM, searched the mailing lists archives, and checked Google, but
can’t find an answer. Any ideas?

Lydia Bell
lydia@spamcop.net

Lydia Bell wrote:

RT 3.0.4
Apache 2.0.47
mod_fastcgi 2.4.0
suidperl 5.8.0

Alias /rt/NoAuth/images/ “/usr/local/rt3/share/html/NoAuth/images/”
Alias /rt “/usr/local/rt3/share/html”
ScriptAlias /rt/ “/usr/local/rt3/bin/mason_handler.fcgi/”

<Location /rt>
RedirectMatch permanent (.*)/$ http://my.hosts.fqdn$1/index.html

That redirect shouldn’t be needed with FastCGI; it’s a workaround
for mod_perl2 breakage AFAIK. The “Alias /rt” might also break you.

Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances