[rt-users] Can't locate RT/Mason.pm

francisv at dagupan.com francisv at dagupan.com
Thu Jan 24 20:30:22 EST 2002


Hi Dane,

I finally figured it out. I just missed the line:

	PerlRequire /usr/local/rt2/bin/webmux.pl

in my httpd.conf. Everything's working fine now. I'm trying to figure out
how to replace our current customer support e-mail on MS Exchange to RT on
FreeBSD.

-----Original Message-----
From: Dane Rapaport [mailto:dane at al.com.au] 
Sent: Friday, January 25, 2002 6:28 AM
To: francisv at dagupan.com
Cc: rt-users at lists.fsck.com
Subject: Re: [rt-users] Can't locate RT/Mason.pm

Francis,
You should find that it is easiest to create a virtual host on your apache
webserver for rt.
In your httpd.conf file, you should add something which looks like this:

<VirtualHost IP.ADDRESS.OF.RT.SERVER>
DocumentRoot /usr/local/rt2/WebRT/html
ServerName rtserver.dagupan.com
PerlModule Apache::DBI
PerlFreshRestart On
PerlRequire /usr/local/rt2/bin/webmux.pl
<Location />
 SetHandler perl-script
 PerlHandler RT::Mason
</Location>
</VirtualHost>

That done, it will pretty much work unless you have done something else
horribly wrong :)

Alternatively, if you dont set it up as a virtualhost, just make sure your
httpd.conf has the
DocumentRoot variable set to /usr/local/rt2/WebRT/html or wherever you have
it.

Hope this helps
Dane


--
Dane Rapaport
Systems Administrator and All Round Nice Guy
Animal LOGIC, Fox Studios Australia
www.animallogic.com
p: +61 2 9383 4964
m:  0414 735 922






More information about the rt-users mailing list