Problems with RT and Mason

I’m having a little trouble getting RT going. Can anyone help?

This is debain and Request Tracker 3

Here’s the error message
RT RT: [Mason] Cannot resolve file to Component: /opt/rt3/html/index.html
(is file outside component root?) at
/usr/share/perl5/HTML/Mason/ApacheHandler.pm line 838.
(/usr/share/perl5/RT.pm:235)

here’s the “apache-modperl.conf”

Alias /rt /opt/rt3/html

PerlModule Apache::DBI
PerlFreshRestart Off

<Directory /opt/rt3/html/>
AddDefaultCharset UTF-8
PerlRequire /opt/rt3/libexec/webmux.pl
SetHandler perl-script
PerlHandler RT::Mason

Here’s what /opt/rt3 looks like.

|-- html
| |-- Admin
| | |-- Elements
| | |-- Global
| | |-- Groups
| | |-- Queues
| | -- Users | |-- Approvals | |– Elements
| |-- Elements
| |-- NoAuth
| | -- images | |-- REST | |– 1.0
| | -- NoAuth | |-- Search | |– Elements
| |-- SelfService
| | |-- Attachment
| | -- Elements | |-- Ticket | | |-- Attachment | |– Elements
| -- User | |-- Elements |– Groups
`-- libexec

ok I got this fixed. Now I’m getting the RT page but the links to home,
cofiguration, tickets etc. are bypasing the rt alias. EG the link to the
preferences is going to http://hostname/admin rather than
http://hostname/rt/admin. Any idea where I fix this?-----Original Message-----
From: Mike Vidal
To: ‘rt-users@lists.fsck.com’
Sent: 7/4/2003 7:59 PM
Subject: [rt-users] problems with RT and Mason

I’m having a little trouble getting RT going. Can anyone help?

This is debain and Request Tracker 3

Here’s the error message
RT RT: [Mason] Cannot resolve file to Component:
/opt/rt3/html/index.html
(is file outside component root?) at
/usr/share/perl5/HTML/Mason/ApacheHandler.pm line 838.
(/usr/share/perl5/RT.pm:235)

here’s the “apache-modperl.conf”

Alias /rt /opt/rt3/html

PerlModule Apache::DBI
PerlFreshRestart Off

<Directory /opt/rt3/html/>
AddDefaultCharset UTF-8
PerlRequire /opt/rt3/libexec/webmux.pl
SetHandler perl-script
PerlHandler RT::Mason

Here’s what /opt/rt3 looks like.

|-- html
| |-- Admin
| | |-- Elements
| | |-- Global
| | |-- Groups
| | |-- Queues
| | -- Users | |-- Approvals | | – Elements
| |-- Elements
| |-- NoAuth
| | -- images | |-- REST | | – 1.0
| | -- NoAuth | |-- Search | | – Elements
| |-- SelfService
| | |-- Attachment
| | -- Elements | |-- Ticket | | |-- Attachment | | – Elements
| -- User | |-- Elements | – Groups
`-- libexec
rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm