Mason not processing WebRT index.html?

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

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

Location takes a URI path, not a filesystem path.

Try

O Thu, Jul 12, 2001 at 01:47:38PM -0600, Kieran Rhysling wrote:

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

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


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

jesse reed vincent – root@eruditorum.orgjesse@fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

autoconf is your friend until it mysteriously stops working, at which
point it is a snarling wolverine attached to your genitals by its teeth
(that said, it’s better than most of the alternatives) – Nathan Mehl