[rt-users] Mason not processing WebRT index.html?
Kieran Rhysling
rhyslink at qmail.qwest.net
Thu Jul 12 15:47:38 EDT 2001
I'm trying to install RT-2.0.0 and when I try to load the web gui in my
browser, I get the source code of index.html with lines like this:
<& /Elements/Header, Title=>"Start page" &> <& /Elements/Tabs &>
I'm guessing this means that the page is not being handled by Mason like it
should be.
Here's the appropriate section of my httpd.conf (Apache 1.3.19)
Alias /webrt /opt/local/rt2/WebRT/html
PerlSetVar MasonCompRoot /opt/local/rt2/WebRT/html
PerlSetVar MasonDataDir /opt/local/rt2/WebRT/data
PerlModule Apache::DBI
PerlRequire /opt/local/rt2/bin/webmux.pl
<Location /opt/local/rt2/WebRT/html>
SetHandler perl-script
PerlHandler RT::Mason
</Location>
And here's the Web section of RT's config.pm:
$WebPath = "/webrt";
$WebBaseURL = "https://my.host.net";
$WebURL = $WebBaseURL . $WebPath . "/";
$MasonComponentRoot = "/opt/local/rt2/WebRT/html";
$MasonLocalComponentRoot = "/opt/local/rt2/local/WebRT/html";
$MasonDataDir = "/opt/local/rt2/WebRT/data";
$MasonSessionDir = "/opt/local/rt2/WebRT/sessiondata";
Any help would be greatly appreciated!
Thanks,
Kieran
--
Kieran Rhysling
Staff IP Engineer
Qwest Communications
More information about the rt-users
mailing list